Attribute VB_Name = "mdlSDL"
Option Explicit

'--- .\Lib\swig.swg ---
'--- .\Lib\swigwarnings.swg ---
'--- .\Lib\swigwarn.swg ---
'--- .\Lib\swigwarnings.swg ---
'--- .\Lib\swig.swg ---
'--- F:\Projects\SDL_VB\SDL_VB.i ---
'typedef unsigned long  ULONG; ==> Long
'typedef ULONG p. PULONG; ==> Long*
'typedef unsigned short  USHORT; ==> Integer
'typedef USHORT p. PUSHORT; ==> Integer*
'typedef unsigned char  UCHAR; ==> Byte
'typedef UCHAR p. PUCHAR; ==> Byte*
'typedef char p. PSZ; ==> Byte*
'typedef unsigned long  DWORD; ==> Long
'typedef int  BOOL; ==> Long
'typedef unsigned char  BYTE; ==> Byte
'typedef unsigned short  WORD; ==> Integer
'typedef float  FLOAT; ==> Single
'typedef FLOAT p. PFLOAT; ==> Single*
'typedef BOOL p. PBOOL; ==> Long*
'typedef BOOL p. LPBOOL; ==> Long*
'typedef BYTE p. PBYTE; ==> Byte*
'typedef BYTE p. LPBYTE; ==> Byte*
'typedef int p. PINT; ==> Long*
'typedef int p. LPINT; ==> Long*
'typedef WORD p. PWORD; ==> Integer*
'typedef WORD p. LPWORD; ==> Integer*
'typedef long p. LPLONG; ==> Long*
'typedef DWORD p. PDWORD; ==> Long*
'typedef DWORD p. LPDWORD; ==> Long*
'typedef void p. LPVOID; ==> Void*
'typedef q(const).void p. LPCVOID; ==> Void*
'typedef int  INT; ==> Long
'typedef unsigned int  UINT; ==> Long
'typedef unsigned int p. PUINT; ==> Long*
'typedef signed char  INT8; ==> Byte
'typedef signed char p. PINT8; ==> Byte*
'typedef short  INT16; ==> Integer
'typedef short p. PINT16; ==> Integer*
'typedef int  INT32; ==> Long
'typedef int p. PINT32; ==> Long*
'typedef signed __int64  INT64; ==> Currency
'typedef signed __int64 p. PINT64; ==> Currency*
'typedef unsigned char  UINT8; ==> Byte
'typedef unsigned char p. PUINT8; ==> Byte*
'typedef unsigned short  UINT16; ==> Integer
'typedef unsigned short p. PUINT16; ==> Integer*
'typedef unsigned int  UINT32; ==> Long
'typedef unsigned int p. PUINT32; ==> Long*
'typedef unsigned __int64  UINT64; ==> Currency
'typedef unsigned __int64 p. PUINT64; ==> Currency*
'typedef int  LONG32; ==> Long
'typedef int p. PLONG32; ==> Long*
'typedef unsigned int  ULONG32; ==> Long
'typedef unsigned int p. PULONG32; ==> Long*
'typedef unsigned int  DWORD32; ==> Long
'typedef unsigned int p. PDWORD32; ==> Long*
'typedef int  INT_PTR; ==> Long
'typedef int p. PINT_PTR; ==> Long*
'typedef unsigned int  UINT_PTR; ==> Long
'typedef unsigned int p. PUINT_PTR; ==> Long*
'typedef long  LONG_PTR; ==> Long
'typedef long p. PLONG_PTR; ==> Long*
'typedef unsigned long  ULONG_PTR; ==> Long
'typedef unsigned long p. PULONG_PTR; ==> Long*
'typedef unsigned short  UHALF_PTR; ==> Integer
'typedef unsigned short p. PUHALF_PTR; ==> Integer*
'typedef short  HALF_PTR; ==> Integer
'typedef short p. PHALF_PTR; ==> Integer*
'typedef long  SHANDLE_PTR; ==> Long
'typedef unsigned long  HANDLE_PTR; ==> Long
'typedef ULONG_PTR  SIZE_T; ==> Long
'typedef ULONG_PTR p. PSIZE_T; ==> Long*
'typedef LONG_PTR  SSIZE_T; ==> Long
'typedef LONG_PTR p. PSSIZE_T; ==> Long*
'typedef ULONG_PTR  DWORD_PTR; ==> Long
'typedef ULONG_PTR p. PDWORD_PTR; ==> Long*
'typedef __int64  LONG64; ==> Currency
'typedef __int64 p. PLONG64; ==> Currency*
'typedef unsigned __int64  ULONG64; ==> Currency
'typedef unsigned __int64 p. PULONG64; ==> Currency*
'typedef unsigned __int64  DWORD64; ==> Currency
'typedef unsigned __int64 p. PDWORD64; ==> Currency*
'typedef void p. PVOID; ==> Void*
'typedef void p. PVOID64; ==> Void*
'typedef char  CHAR; ==> Byte
'typedef short  SHORT; ==> Integer
'typedef long  LONG; ==> Long
'typedef CHAR p. PCHAR; ==> Byte*
'typedef CHAR p. LPCH; ==> Byte*
'typedef CHAR p. PCH; ==> Byte*
'typedef q(const).CHAR p. LPCCH; ==> Byte*
'typedef q(const).CHAR p. PCCH; ==> Byte*
'typedef CHAR p. NPSTR; ==> Byte*
'typedef CHAR p. LPSTR; ==> Byte*
'typedef CHAR p. PSTR; ==> Byte*
'typedef q(const).CHAR p. LPCSTR; ==> Byte*
'typedef q(const).CHAR p. PCSTR; ==> Byte*
'typedef char  TCHAR; ==> Byte
'typedef char p. PTCHAR; ==> Byte*
'typedef unsigned char  TBYTE; ==> Byte
'typedef unsigned char p. PTBYTE; ==> Byte*
'typedef LPSTR  LPTCH; ==> Byte*
'typedef LPSTR  PTCH; ==> Byte*
'typedef LPSTR  PTSTR; ==> Byte*
'typedef LPSTR  LPTSTR; ==> Byte*
'typedef LPSTR  PUTSTR; ==> Byte*
'typedef LPSTR  LPUTSTR; ==> Byte*
'typedef LPCSTR  PCTSTR; ==> Byte*
'typedef LPCSTR  LPCTSTR; ==> Byte*
'typedef LPCSTR  PCUTSTR; ==> Byte*
'typedef LPCSTR  LPCUTSTR; ==> Byte*
'typedef SHORT p. PSHORT; ==> Integer*
'typedef LONG p. PLONG; ==> Long*
'typedef void p. HANDLE; ==> Void*
'typedef HANDLE p. PHANDLE; ==> Void**
'typedef BYTE  FCHAR; ==> Byte
'typedef WORD  FSHORT; ==> Integer
'typedef DWORD  FLONG; ==> Long
'typedef LONG  HRESULT; ==> Long
'typedef char  CCHAR; ==> Byte
'typedef DWORD  LCID; ==> Long
'typedef PDWORD  PLCID; ==> Long*
'typedef WORD  LANGID; ==> Integer
'typedef __int64  LONGLONG; ==> Currency
'typedef unsigned __int64  ULONGLONG; ==> Currency
'typedef LONGLONG p. PLONGLONG; ==> Currency*
'typedef ULONGLONG p. PULONGLONG; ==> Currency*
'typedef ULONGLONG  DWORDLONG; ==> Currency
'typedef DWORDLONG p. PDWORDLONG; ==> Currency*
'typedef BYTE  BOOLEAN; ==> Byte
'typedef BOOLEAN p. PBOOLEAN; ==> Byte*
'typedef unsigned int  size_t; ==> Long
'typedef struct FILE  FILE; ==> $Opaque$
'typedef struct _SDL_iconv_t  _SDL_iconv_t; ==> $Opaque$
'typedef struct SDL_semaphore  SDL_semaphore; ==> $Opaque$
'typedef struct _SDL_Joystick  _SDL_Joystick; ==> $Opaque$
'typedef struct _SDL_TimerID  _SDL_TimerID; ==> $Opaque$
'typedef struct _Mix_Music  _Mix_Music; ==> $Opaque$
'typedef struct SDL_RWops  SDL_RWops; ==> $Opaque$
'typedef struct _TCPsocket  _TCPsocket; ==> $Opaque$
'typedef struct _UDPsocket  _UDPsocket; ==> $Opaque$
'typedef struct _SDLNet_SocketSet  _SDLNet_SocketSet; ==> $Opaque$
'typedef int  SDLNet_GenericSocket; ==> Long
'--- F:\Projects\SDL-1.2.14\include\SDL.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_main.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_stdinc.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_config.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_platform.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_config.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_config_win32.h ---
'typedef signed __int8  int8_t; ==> Byte
'typedef unsigned __int8  uint8_t; ==> Byte
'typedef signed __int16  int16_t; ==> Integer
'typedef unsigned __int16  uint16_t; ==> Integer
'typedef signed __int32  int32_t; ==> Long
'typedef unsigned __int32  uint32_t; ==> Long
'typedef signed __int64  int64_t; ==> Currency
'typedef unsigned __int64  uint64_t; ==> Currency
'typedef unsigned int  uintptr_t; ==> Long
Public Const SDL_HAS_64BIT_TYPE As Long = 1
Public Const HAVE_LIBC As Long = 1
Public Const HAVE_STDIO_H As Long = 1
Public Const STDC_HEADERS As Long = 1
Public Const HAVE_STRING_H As Long = 1
Public Const HAVE_CTYPE_H As Long = 1
Public Const HAVE_MATH_H As Long = 1
Public Const HAVE_SIGNAL_H As Long = 1
Public Const HAVE_MALLOC As Long = 1
Public Const HAVE_CALLOC As Long = 1
Public Const HAVE_REALLOC As Long = 1
Public Const HAVE_FREE As Long = 1
Public Const HAVE_ALLOCA As Long = 1
Public Const HAVE_QSORT As Long = 1
Public Const HAVE_ABS As Long = 1
Public Const HAVE_MEMSET As Long = 1
Public Const HAVE_MEMCPY As Long = 1
Public Const HAVE_MEMMOVE As Long = 1
Public Const HAVE_MEMCMP As Long = 1
Public Const HAVE_STRLEN As Long = 1
Public Const HAVE__STRREV As Long = 1
Public Const HAVE__STRUPR As Long = 1
Public Const HAVE__STRLWR As Long = 1
Public Const HAVE_STRCHR As Long = 1
Public Const HAVE_STRRCHR As Long = 1
Public Const HAVE_STRSTR As Long = 1
Public Const HAVE_ITOA As Long = 1
Public Const HAVE__LTOA As Long = 1
Public Const HAVE__ULTOA As Long = 1
Public Const HAVE_STRTOL As Long = 1
Public Const HAVE_STRTOUL As Long = 1
Public Const HAVE_STRTOLL As Long = 1
Public Const HAVE_STRTOD As Long = 1
Public Const HAVE_ATOI As Long = 1
Public Const HAVE_ATOF As Long = 1
Public Const HAVE_STRCMP As Long = 1
Public Const HAVE_STRNCMP As Long = 1
Public Const HAVE__STRICMP As Long = 1
Public Const HAVE__STRNICMP As Long = 1
Public Const HAVE_SSCANF As Long = 1
Public Const SDL_AUDIO_DRIVER_DSOUND As Long = 1
Public Const SDL_AUDIO_DRIVER_WAVEOUT As Long = 1
Public Const SDL_AUDIO_DRIVER_DISK As Long = 1
Public Const SDL_AUDIO_DRIVER_DUMMY As Long = 1
Public Const SDL_CDROM_WIN32 As Long = 1
Public Const SDL_JOYSTICK_WINMM As Long = 1
Public Const SDL_LOADSO_WIN32 As Long = 1
Public Const SDL_THREAD_WIN32 As Long = 1
Public Const SDL_TIMER_WIN32 As Long = 1
Public Const SDL_VIDEO_DRIVER_DDRAW As Long = 1
Public Const SDL_VIDEO_DRIVER_DUMMY As Long = 1
Public Const SDL_VIDEO_DRIVER_WINDIB As Long = 1
Public Const SDL_VIDEO_OPENGL As Long = 1
Public Const SDL_VIDEO_OPENGL_WGL As Long = 1
Public Const SDL_VIDEO_DISABLE_SCREENSAVER As Long = 1
Public Const SDL_ASSEMBLY_ROUTINES As Long = 1
'--- F:\Projects\SDL-1.2.14\include\SDL_config.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_stdinc.h ---
Public Enum SDL_bool
 SDL_FALSE = 0
 SDL_TRUE = 1
End Enum
'typedef int8_t  Sint8; ==> Byte
'typedef uint8_t  Uint8; ==> Byte
'typedef int16_t  Sint16; ==> Integer
'typedef uint16_t  Uint16; ==> Integer
'typedef int32_t  Sint32; ==> Long
'typedef uint32_t  Uint32; ==> Long
'typedef int64_t  Sint64; ==> Currency
'typedef uint64_t  Uint64; ==> Currency
'typedef int a((sizeof(Uint8)==1) *2-1). SDL_dummy_uint8; ==> Long*
'typedef int a((sizeof(Sint8)==1) *2-1). SDL_dummy_sint8; ==> Long*
'typedef int a((sizeof(Uint16)==2) *2-1). SDL_dummy_uint16; ==> Long*
'typedef int a((sizeof(Sint16)==2) *2-1). SDL_dummy_sint16; ==> Long*
'typedef int a((sizeof(Uint32)==4) *2-1). SDL_dummy_uint32; ==> Long*
'typedef int a((sizeof(Sint32)==4) *2-1). SDL_dummy_sint32; ==> Long*
'typedef int a((sizeof(Uint64)==8) *2-1). SDL_dummy_uint64; ==> Long*
'typedef int a((sizeof(Sint64)==8) *2-1). SDL_dummy_sint64; ==> Long*
'typedef int a((sizeof(SDL_DUMMY_ENUM)==sizeof(int)) *2-1). SDL_dummy_enum; ==> Long*
'--- F:\Projects\SDL-1.2.14\include\begin_code.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_stdinc.h ---
Public Declare Function SDL_getenv Lib "SDL_VB.dll" (ByRef name_ As Any) As Long 'Byte*
Public Declare Function SDL_putenv Lib "SDL_VB.dll" (ByRef variable_ As Any) As Long
Public Declare Function SDL_revcpy Lib "SDL_VB.dll" (ByRef dst_ As Any, ByRef src_ As Any, ByVal len_ As Long) As Long 'Void*
Public Declare Function SDL_strlcpy Lib "SDL_VB.dll" (ByRef dst_ As Any, ByRef src_ As Any, ByVal maxlen_ As Long) As Long
Public Declare Function SDL_strlcat Lib "SDL_VB.dll" (ByRef dst_ As Any, ByRef src_ As Any, ByVal maxlen_ As Long) As Long
Public Declare Function SDL_strdup Lib "SDL_VB.dll" (ByRef string_ As Any) As Long 'Byte*
Public Declare Function SDL_lltoa Lib "SDL_VB.dll" (ByVal value_ As Currency, ByRef string_ As Any, ByVal radix_ As Long) As Long 'Byte*
Public Declare Function SDL_ulltoa Lib "SDL_VB.dll" (ByVal value_ As Currency, ByRef string_ As Any, ByVal radix_ As Long) As Long 'Byte*
Public Declare Function SDL_strtoull Lib "SDL_VB.dll" (ByRef string_ As Any, ByRef endp_ As Long, ByVal base_ As Long) As Currency
'typedef struct _SDL_iconv_t p. SDL_iconv_t; ==> Long
Public Declare Function SDL_iconv_open Lib "SDL_VB.dll" (ByRef tocode_ As Any, ByRef fromcode_ As Any) As Long
Public Declare Function SDL_iconv_close Lib "SDL_VB.dll" (ByVal cd_ As Long) As Long
Public Declare Function SDL_iconv Lib "SDL_VB.dll" (ByVal cd_ As Long, ByRef inbuf_ As Long, ByRef inbytesleft_ As Long, ByRef outbuf_ As Long, ByRef outbytesleft_ As Long) As Long
Public Declare Function SDL_iconv_string Lib "SDL_VB.dll" (ByRef tocode_ As Any, ByRef fromcode_ As Any, ByRef inbuf_ As Any, ByVal inbytesleft_ As Long) As Long 'Byte*
'--- F:\Projects\SDL-1.2.14\include\close_code.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_stdinc.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_main.h ---
Public Declare Sub SDL_SetModuleHandle Lib "SDL_VB.dll" (ByRef hInst_ As Any)
Public Declare Function SDL_RegisterApp Lib "SDL_VB.dll" (ByRef name_ As Any, ByVal style_ As Long, ByRef hInst_ As Any) As Long
Public Declare Sub SDL_UnregisterApp Lib "SDL_VB.dll" ()
'--- F:\Projects\SDL-1.2.14\include\SDL.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_audio.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_error.h ---
Public Declare Function SDL_GetError Lib "SDL_VB.dll" () As Long 'Byte*
Public Declare Sub SDL_ClearError Lib "SDL_VB.dll" ()
Public Enum SDL_errorcode
 SDL_ENOMEM
 SDL_EFREAD
 SDL_EFWRITE
 SDL_EFSEEK
 SDL_UNSUPPORTED
 SDL_LASTERROR
End Enum
Public Declare Sub SDL_Error Lib "SDL_VB.dll" (ByVal code_ As SDL_errorcode)
'--- F:\Projects\SDL-1.2.14\include\SDL_audio.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_endian.h ---
Public Const SDL_LIL_ENDIAN As Long = 1234
Public Const SDL_BIG_ENDIAN As Long = 4321
Public Const SDL_BYTEORDER As Long = 1234
Public Declare Function SDL_Swap16 Lib "SDL_VB.dll" (ByVal x_ As Integer) As Integer
Public Declare Function SDL_Swap32 Lib "SDL_VB.dll" (ByVal x_ As Long) As Long
Public Declare Function SDL_Swap64 Lib "SDL_VB.dll" (ByVal x_ As Currency) As Currency
'--- F:\Projects\SDL-1.2.14\include\SDL_audio.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_mutex.h ---
Public Const SDL_MUTEX_TIMEDOUT As Long = 1
'typedef struct SDL_mutex  SDL_mutex; ==> $Opaque$
Public Declare Function SDL_CreateMutex Lib "SDL_VB.dll" () As Long
Public Declare Function SDL_mutexP Lib "SDL_VB.dll" (ByVal mutex_ As Long) As Long
Public Declare Function SDL_mutexV Lib "SDL_VB.dll" (ByVal mutex_ As Long) As Long
Public Declare Sub SDL_DestroyMutex Lib "SDL_VB.dll" (ByVal mutex_ As Long)
'typedef struct SDL_semaphore  SDL_sem; ==> $Opaque$
Public Declare Function SDL_CreateSemaphore Lib "SDL_VB.dll" (ByVal initial_value_ As Long) As Long
Public Declare Sub SDL_DestroySemaphore Lib "SDL_VB.dll" (ByVal sem_ As Long)
Public Declare Function SDL_SemWait Lib "SDL_VB.dll" (ByVal sem_ As Long) As Long
Public Declare Function SDL_SemTryWait Lib "SDL_VB.dll" (ByVal sem_ As Long) As Long
Public Declare Function SDL_SemWaitTimeout Lib "SDL_VB.dll" (ByVal sem_ As Long, ByVal ms_ As Long) As Long
Public Declare Function SDL_SemPost Lib "SDL_VB.dll" (ByVal sem_ As Long) As Long
Public Declare Function SDL_SemValue Lib "SDL_VB.dll" (ByVal sem_ As Long) As Long
'typedef struct SDL_cond  SDL_cond; ==> $Opaque$
Public Declare Function SDL_CreateCond Lib "SDL_VB.dll" () As Long
Public Declare Sub SDL_DestroyCond Lib "SDL_VB.dll" (ByVal cond_ As Long)
Public Declare Function SDL_CondSignal Lib "SDL_VB.dll" (ByVal cond_ As Long) As Long
Public Declare Function SDL_CondBroadcast Lib "SDL_VB.dll" (ByVal cond_ As Long) As Long
Public Declare Function SDL_CondWait Lib "SDL_VB.dll" (ByVal cond_ As Long, ByVal mut_ As Long) As Long
Public Declare Function SDL_CondWaitTimeout Lib "SDL_VB.dll" (ByVal cond_ As Long, ByVal mutex_ As Long, ByVal ms_ As Long) As Long
'--- F:\Projects\SDL-1.2.14\include\SDL_audio.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_thread.h ---
'typedef struct SDL_Thread  SDL_Thread; ==> $Opaque$
Public Declare Function SDL_CreateThread Lib "SDL_VB.dll" (ByRef fn_ As Long, ByRef data_ As Any) As Long
Public Declare Function SDL_ThreadID Lib "SDL_VB.dll" () As Long
Public Declare Function SDL_GetThreadID Lib "SDL_VB.dll" (ByVal thread_ As Long) As Long
Public Declare Sub SDL_WaitThread Lib "SDL_VB.dll" (ByVal thread_ As Long, ByRef status_ As Long)
Public Declare Sub SDL_KillThread Lib "SDL_VB.dll" (ByVal thread_ As Long)
'--- F:\Projects\SDL-1.2.14\include\SDL_audio.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_rwops.h ---
Public Declare Function SDL_RWFromFile Lib "SDL_VB.dll" (ByRef file_ As Any, ByRef mode_ As Any) As Long
Public Declare Function SDL_RWFromFP Lib "SDL_VB.dll" (ByVal fp_ As Long, ByVal autoclose_ As Long) As Long
Public Declare Function SDL_RWFromMem Lib "SDL_VB.dll" (ByRef mem_ As Any, ByVal size_ As Long) As Long
Public Declare Function SDL_RWFromConstMem Lib "SDL_VB.dll" (ByRef mem_ As Any, ByVal size_ As Long) As Long
Public Declare Function SDL_AllocRW Lib "SDL_VB.dll" () As Long
Public Declare Sub SDL_FreeRW Lib "SDL_VB.dll" (ByVal area_ As Long)
Public Const RW_SEEK_SET As Long = 0
Public Const RW_SEEK_CUR As Long = 1
Public Const RW_SEEK_END As Long = 2
Public Declare Function SDL_ReadLE16 Lib "SDL_VB.dll" (ByVal src_ As Long) As Integer
Public Declare Function SDL_ReadBE16 Lib "SDL_VB.dll" (ByVal src_ As Long) As Integer
Public Declare Function SDL_ReadLE32 Lib "SDL_VB.dll" (ByVal src_ As Long) As Long
Public Declare Function SDL_ReadBE32 Lib "SDL_VB.dll" (ByVal src_ As Long) As Long
Public Declare Function SDL_ReadLE64 Lib "SDL_VB.dll" (ByVal src_ As Long) As Currency
Public Declare Function SDL_ReadBE64 Lib "SDL_VB.dll" (ByVal src_ As Long) As Currency
Public Declare Function SDL_WriteLE16 Lib "SDL_VB.dll" (ByVal dst_ As Long, ByVal value_ As Integer) As Long
Public Declare Function SDL_WriteBE16 Lib "SDL_VB.dll" (ByVal dst_ As Long, ByVal value_ As Integer) As Long
Public Declare Function SDL_WriteLE32 Lib "SDL_VB.dll" (ByVal dst_ As Long, ByVal value_ As Long) As Long
Public Declare Function SDL_WriteBE32 Lib "SDL_VB.dll" (ByVal dst_ As Long, ByVal value_ As Long) As Long
Public Declare Function SDL_WriteLE64 Lib "SDL_VB.dll" (ByVal dst_ As Long, ByVal value_ As Currency) As Long
Public Declare Function SDL_WriteBE64 Lib "SDL_VB.dll" (ByVal dst_ As Long, ByVal value_ As Currency) As Long
'--- F:\Projects\SDL-1.2.14\include\SDL_audio.h ---
Public Type SDL_AudioSpec
 freq As Long
 format As Integer
 channels As Byte
 silence As Byte
 samples As Integer
 padding As Integer
 size As Long
 callback As Long
 userdata As Long 'Void*
End Type '24 bytes
Public Const AUDIO_U8 As Long = &H0008&
Public Const AUDIO_S8 As Long = &H8008&
Public Const AUDIO_U16LSB As Long = &H0010&
Public Const AUDIO_S16LSB As Long = &H8010&
Public Const AUDIO_U16MSB As Long = &H1010&
Public Const AUDIO_S16MSB As Long = &H9010&
Public Const AUDIO_U16 As Long = &H0010&
Public Const AUDIO_S16 As Long = &H8010&
Public Const AUDIO_U16SYS As Long = &H0010&
Public Const AUDIO_S16SYS As Long = &H8010&
Public Type SDL_AudioCVT
 needed As Long
 src_format As Integer
 dst_format As Integer
 rate_incr As Double
 buf As Long 'Byte*
 len As Long
 len_cvt As Long
 len_mult As Long
 len_ratio As Double
 filters(0 To 10 - 1) As Long 'Voidf(p.struct SDL_AudioCVT,Uint16).*
 filter_index As Long
End Type '84 bytes
Public Declare Function SDL_AudioInit Lib "SDL_VB.dll" (ByRef driver_name_ As Any) As Long
Public Declare Sub SDL_AudioQuit Lib "SDL_VB.dll" ()
Public Declare Function SDL_AudioDriverName Lib "SDL_VB.dll" (ByRef namebuf_ As Any, ByVal maxlen_ As Long) As Long 'Byte*
Public Declare Function SDL_OpenAudio Lib "SDL_VB.dll" (ByRef desired_ As SDL_AudioSpec, ByRef obtained_ As SDL_AudioSpec) As Long
Public Enum SDL_audiostatus
 SDL_AUDIO_STOPPED = 0
 SDL_AUDIO_PLAYING
 SDL_AUDIO_PAUSED
End Enum
Public Declare Function SDL_GetAudioStatus Lib "SDL_VB.dll" () As SDL_audiostatus
Public Declare Sub SDL_PauseAudio Lib "SDL_VB.dll" (ByVal pause_on_ As Long)
Public Declare Function SDL_LoadWAV_RW Lib "SDL_VB.dll" (ByVal src_ As Long, ByVal freesrc_ As Long, ByRef spec_ As SDL_AudioSpec, ByRef audio_buf_ As Long, ByRef audio_len_ As Long) As Long 'SDL_AudioSpec*
Public Declare Sub SDL_FreeWAV Lib "SDL_VB.dll" (ByRef audio_buf_ As Any)
Public Declare Function SDL_BuildAudioCVT Lib "SDL_VB.dll" (ByRef cvt_ As SDL_AudioCVT, ByVal src_format_ As Integer, ByVal src_channels_ As Byte, ByVal src_rate_ As Long, ByVal dst_format_ As Integer, ByVal dst_channels_ As Byte, ByVal dst_rate_ As Long) As Long
Public Declare Function SDL_ConvertAudio Lib "SDL_VB.dll" (ByRef cvt_ As SDL_AudioCVT) As Long
Public Const SDL_MIX_MAXVOLUME As Long = 128
Public Declare Sub SDL_MixAudio Lib "SDL_VB.dll" (ByRef dst_ As Any, ByRef src_ As Any, ByVal len_ As Long, ByVal volume_ As Long)
Public Declare Sub SDL_LockAudio Lib "SDL_VB.dll" ()
Public Declare Sub SDL_UnlockAudio Lib "SDL_VB.dll" ()
Public Declare Sub SDL_CloseAudio Lib "SDL_VB.dll" ()
'--- F:\Projects\SDL-1.2.14\include\SDL.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_cdrom.h ---
Public Const SDL_MAX_TRACKS As Long = 99
Public Const SDL_AUDIO_TRACK As Long = &H00&
Public Const SDL_DATA_TRACK As Long = &H04&
Public Enum CDstatus
 CD_TRAYEMPTY
 CD_STOPPED
 CD_PLAYING
 CD_PAUSED
 CD_ERROR = -1
End Enum
Public Type SDL_CDtrack
 id As Byte
 type As Byte
 unused As Integer
 length As Long
 offset As Long
End Type '12 bytes
Public Type SDL_CD
 id As Long
 status As CDstatus
 numtracks As Long
 cur_track As Long
 cur_frame As Long
 track(0 To 99+1 - 1) As SDL_CDtrack
End Type '1208 bytes
Public Const CD_FPS As Long = 75
Public Declare Function SDL_CDNumDrives Lib "SDL_VB.dll" () As Long
Public Declare Function SDL_CDName Lib "SDL_VB.dll" (ByVal drive_ As Long) As Long 'Byte*
Public Declare Function SDL_CDOpen Lib "SDL_VB.dll" (ByVal drive_ As Long) As Long 'SDL_CD*
Public Declare Function SDL_CDStatus Lib "SDL_VB.dll" (ByRef cdrom_ As SDL_CD) As CDstatus
Public Declare Function SDL_CDPlayTracks Lib "SDL_VB.dll" (ByRef cdrom_ As SDL_CD, ByVal start_track_ As Long, ByVal start_frame_ As Long, ByVal ntracks_ As Long, ByVal nframes_ As Long) As Long
Public Declare Function SDL_CDPlay Lib "SDL_VB.dll" (ByRef cdrom_ As SDL_CD, ByVal start_ As Long, ByVal length_ As Long) As Long
Public Declare Function SDL_CDPause Lib "SDL_VB.dll" (ByRef cdrom_ As SDL_CD) As Long
Public Declare Function SDL_CDResume Lib "SDL_VB.dll" (ByRef cdrom_ As SDL_CD) As Long
Public Declare Function SDL_CDStop Lib "SDL_VB.dll" (ByRef cdrom_ As SDL_CD) As Long
Public Declare Function SDL_CDEject Lib "SDL_VB.dll" (ByRef cdrom_ As SDL_CD) As Long
Public Declare Sub SDL_CDClose Lib "SDL_VB.dll" (ByRef cdrom_ As SDL_CD)
'--- F:\Projects\SDL-1.2.14\include\SDL.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_cpuinfo.h ---
Public Declare Function SDL_HasRDTSC Lib "SDL_VB.dll" () As SDL_bool
Public Declare Function SDL_HasMMX Lib "SDL_VB.dll" () As SDL_bool
Public Declare Function SDL_HasMMXExt Lib "SDL_VB.dll" () As SDL_bool
Public Declare Function SDL_Has3DNow Lib "SDL_VB.dll" () As SDL_bool
Public Declare Function SDL_Has3DNowExt Lib "SDL_VB.dll" () As SDL_bool
Public Declare Function SDL_HasSSE Lib "SDL_VB.dll" () As SDL_bool
Public Declare Function SDL_HasSSE2 Lib "SDL_VB.dll" () As SDL_bool
Public Declare Function SDL_HasAltiVec Lib "SDL_VB.dll" () As SDL_bool
'--- F:\Projects\SDL-1.2.14\include\SDL.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_events.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_active.h ---
Public Const SDL_APPMOUSEFOCUS As Long = &H01&
Public Const SDL_APPINPUTFOCUS As Long = &H02&
Public Const SDL_APPACTIVE As Long = &H04&
Public Declare Function SDL_GetAppState Lib "SDL_VB.dll" () As Byte
'--- F:\Projects\SDL-1.2.14\include\SDL_events.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_keyboard.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_keysym.h ---
Public Enum SDLKey
 SDLK_UNKNOWN = 0
 SDLK_FIRST = 0
 SDLK_BACKSPACE = 8
 SDLK_TAB = 9
 SDLK_CLEAR = 12
 SDLK_RETURN = 13
 SDLK_PAUSE = 19
 SDLK_ESCAPE = 27
 SDLK_SPACE = 32
 SDLK_EXCLAIM = 33
 SDLK_QUOTEDBL = 34
 SDLK_HASH = 35
 SDLK_DOLLAR = 36
 SDLK_AMPERSAND = 38
 SDLK_QUOTE = 39
 SDLK_LEFTPAREN = 40
 SDLK_RIGHTPAREN = 41
 SDLK_ASTERISK = 42
 SDLK_PLUS = 43
 SDLK_COMMA = 44
 SDLK_MINUS = 45
 SDLK_PERIOD = 46
 SDLK_SLASH = 47
 SDLK_0 = 48
 SDLK_1 = 49
 SDLK_2 = 50
 SDLK_3 = 51
 SDLK_4 = 52
 SDLK_5 = 53
 SDLK_6 = 54
 SDLK_7 = 55
 SDLK_8 = 56
 SDLK_9 = 57
 SDLK_COLON = 58
 SDLK_SEMICOLON = 59
 SDLK_LESS = 60
 SDLK_EQUALS = 61
 SDLK_GREATER = 62
 SDLK_QUESTION = 63
 SDLK_AT = 64
 SDLK_LEFTBRACKET = 91
 SDLK_BACKSLASH = 92
 SDLK_RIGHTBRACKET = 93
 SDLK_CARET = 94
 SDLK_UNDERSCORE = 95
 SDLK_BACKQUOTE = 96
 SDLK_a = 97
 SDLK_b = 98
 SDLK_c = 99
 SDLK_d = 100
 SDLK_e = 101
 SDLK_f = 102
 SDLK_g = 103
 SDLK_h = 104
 SDLK_i = 105
 SDLK_j = 106
 SDLK_k = 107
 SDLK_l = 108
 SDLK_m = 109
 SDLK_n = 110
 SDLK_o = 111
 SDLK_p = 112
 SDLK_q = 113
 SDLK_r = 114
 SDLK_s = 115
 SDLK_t = 116
 SDLK_u = 117
 SDLK_v = 118
 SDLK_w = 119
 SDLK_x = 120
 SDLK_y = 121
 SDLK_z = 122
 SDLK_DELETE = 127
 SDLK_WORLD_0 = 160
 SDLK_WORLD_1 = 161
 SDLK_WORLD_2 = 162
 SDLK_WORLD_3 = 163
 SDLK_WORLD_4 = 164
 SDLK_WORLD_5 = 165
 SDLK_WORLD_6 = 166
 SDLK_WORLD_7 = 167
 SDLK_WORLD_8 = 168
 SDLK_WORLD_9 = 169
 SDLK_WORLD_10 = 170
 SDLK_WORLD_11 = 171
 SDLK_WORLD_12 = 172
 SDLK_WORLD_13 = 173
 SDLK_WORLD_14 = 174
 SDLK_WORLD_15 = 175
 SDLK_WORLD_16 = 176
 SDLK_WORLD_17 = 177
 SDLK_WORLD_18 = 178
 SDLK_WORLD_19 = 179
 SDLK_WORLD_20 = 180
 SDLK_WORLD_21 = 181
 SDLK_WORLD_22 = 182
 SDLK_WORLD_23 = 183
 SDLK_WORLD_24 = 184
 SDLK_WORLD_25 = 185
 SDLK_WORLD_26 = 186
 SDLK_WORLD_27 = 187
 SDLK_WORLD_28 = 188
 SDLK_WORLD_29 = 189
 SDLK_WORLD_30 = 190
 SDLK_WORLD_31 = 191
 SDLK_WORLD_32 = 192
 SDLK_WORLD_33 = 193
 SDLK_WORLD_34 = 194
 SDLK_WORLD_35 = 195
 SDLK_WORLD_36 = 196
 SDLK_WORLD_37 = 197
 SDLK_WORLD_38 = 198
 SDLK_WORLD_39 = 199
 SDLK_WORLD_40 = 200
 SDLK_WORLD_41 = 201
 SDLK_WORLD_42 = 202
 SDLK_WORLD_43 = 203
 SDLK_WORLD_44 = 204
 SDLK_WORLD_45 = 205
 SDLK_WORLD_46 = 206
 SDLK_WORLD_47 = 207
 SDLK_WORLD_48 = 208
 SDLK_WORLD_49 = 209
 SDLK_WORLD_50 = 210
 SDLK_WORLD_51 = 211
 SDLK_WORLD_52 = 212
 SDLK_WORLD_53 = 213
 SDLK_WORLD_54 = 214
 SDLK_WORLD_55 = 215
 SDLK_WORLD_56 = 216
 SDLK_WORLD_57 = 217
 SDLK_WORLD_58 = 218
 SDLK_WORLD_59 = 219
 SDLK_WORLD_60 = 220
 SDLK_WORLD_61 = 221
 SDLK_WORLD_62 = 222
 SDLK_WORLD_63 = 223
 SDLK_WORLD_64 = 224
 SDLK_WORLD_65 = 225
 SDLK_WORLD_66 = 226
 SDLK_WORLD_67 = 227
 SDLK_WORLD_68 = 228
 SDLK_WORLD_69 = 229
 SDLK_WORLD_70 = 230
 SDLK_WORLD_71 = 231
 SDLK_WORLD_72 = 232
 SDLK_WORLD_73 = 233
 SDLK_WORLD_74 = 234
 SDLK_WORLD_75 = 235
 SDLK_WORLD_76 = 236
 SDLK_WORLD_77 = 237
 SDLK_WORLD_78 = 238
 SDLK_WORLD_79 = 239
 SDLK_WORLD_80 = 240
 SDLK_WORLD_81 = 241
 SDLK_WORLD_82 = 242
 SDLK_WORLD_83 = 243
 SDLK_WORLD_84 = 244
 SDLK_WORLD_85 = 245
 SDLK_WORLD_86 = 246
 SDLK_WORLD_87 = 247
 SDLK_WORLD_88 = 248
 SDLK_WORLD_89 = 249
 SDLK_WORLD_90 = 250
 SDLK_WORLD_91 = 251
 SDLK_WORLD_92 = 252
 SDLK_WORLD_93 = 253
 SDLK_WORLD_94 = 254
 SDLK_WORLD_95 = 255
 SDLK_KP0 = 256
 SDLK_KP1 = 257
 SDLK_KP2 = 258
 SDLK_KP3 = 259
 SDLK_KP4 = 260
 SDLK_KP5 = 261
 SDLK_KP6 = 262
 SDLK_KP7 = 263
 SDLK_KP8 = 264
 SDLK_KP9 = 265
 SDLK_KP_PERIOD = 266
 SDLK_KP_DIVIDE = 267
 SDLK_KP_MULTIPLY = 268
 SDLK_KP_MINUS = 269
 SDLK_KP_PLUS = 270
 SDLK_KP_ENTER = 271
 SDLK_KP_EQUALS = 272
 SDLK_UP = 273
 SDLK_DOWN = 274
 SDLK_RIGHT = 275
 SDLK_LEFT = 276
 SDLK_INSERT = 277
 SDLK_HOME = 278
 SDLK_END = 279
 SDLK_PAGEUP = 280
 SDLK_PAGEDOWN = 281
 SDLK_F1 = 282
 SDLK_F2 = 283
 SDLK_F3 = 284
 SDLK_F4 = 285
 SDLK_F5 = 286
 SDLK_F6 = 287
 SDLK_F7 = 288
 SDLK_F8 = 289
 SDLK_F9 = 290
 SDLK_F10 = 291
 SDLK_F11 = 292
 SDLK_F12 = 293
 SDLK_F13 = 294
 SDLK_F14 = 295
 SDLK_F15 = 296
 SDLK_NUMLOCK = 300
 SDLK_CAPSLOCK = 301
 SDLK_SCROLLOCK = 302
 SDLK_RSHIFT = 303
 SDLK_LSHIFT = 304
 SDLK_RCTRL = 305
 SDLK_LCTRL = 306
 SDLK_RALT = 307
 SDLK_LALT = 308
 SDLK_RMETA = 309
 SDLK_LMETA = 310
 SDLK_LSUPER = 311
 SDLK_RSUPER = 312
 SDLK_MODE = 313
 SDLK_COMPOSE = 314
 SDLK_HELP = 315
 SDLK_PRINT = 316
 SDLK_SYSREQ = 317
 SDLK_BREAK = 318
 SDLK_MENU = 319
 SDLK_POWER = 320
 SDLK_EURO = 321
 SDLK_UNDO = 322
 SDLK_LAST
End Enum
Public Enum SDLMod
 KMOD_NONE = &H0000&
 KMOD_LSHIFT = &H0001&
 KMOD_RSHIFT = &H0002&
 KMOD_LCTRL = &H0040&
 KMOD_RCTRL = &H0080&
 KMOD_LALT = &H0100&
 KMOD_RALT = &H0200&
 KMOD_LMETA = &H0400&
 KMOD_RMETA = &H0800&
 KMOD_NUM = &H1000&
 KMOD_CAPS = &H2000&
 KMOD_MODE = &H4000&
 KMOD_RESERVED = &H8000&
End Enum
'--- F:\Projects\SDL-1.2.14\include\SDL_keyboard.h ---
Public Type SDL_keysym
 scancode As Byte
 sym As SDLKey
 mod As SDLMod
 unicode As Integer
End Type '14 bytes
Public Const SDL_ALL_HOTKEYS As Long = &HFFFFFFFF&
Public Declare Function SDL_EnableUNICODE Lib "SDL_VB.dll" (ByVal enable_ As Long) As Long
Public Const SDL_DEFAULT_REPEAT_DELAY As Long = 500
Public Const SDL_DEFAULT_REPEAT_INTERVAL As Long = 30
Public Declare Function SDL_EnableKeyRepeat Lib "SDL_VB.dll" (ByVal delay_ As Long, ByVal interval_ As Long) As Long
Public Declare Sub SDL_GetKeyRepeat Lib "SDL_VB.dll" (ByRef delay_ As Long, ByRef interval_ As Long)
Public Declare Function SDL_GetKeyState Lib "SDL_VB.dll" (ByRef numkeys_ As Long) As Long 'Byte*
Public Declare Function SDL_GetModState Lib "SDL_VB.dll" () As SDLMod
Public Declare Sub SDL_SetModState Lib "SDL_VB.dll" (ByVal modstate_ As SDLMod)
Public Declare Function SDL_GetKeyName Lib "SDL_VB.dll" (ByVal key_ As SDLKey) As Long 'Byte*
'--- F:\Projects\SDL-1.2.14\include\SDL_events.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_mouse.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_video.h ---
Public Const SDL_ALPHA_OPAQUE As Long = 255
Public Const SDL_ALPHA_TRANSPARENT As Long = 0
Public Type SDL_Rect
 x As Integer
 y As Integer
 w As Integer
 h As Integer
End Type '8 bytes
Public Type SDL_Color
 r As Byte
 g As Byte
 b As Byte
 unused As Byte
End Type '4 bytes
Public Type SDL_Palette
 ncolors As Long
 colors As Long 'SDL_Color*
End Type '8 bytes
Public Type SDL_PixelFormat
 palette As Long 'SDL_Palette*
 BitsPerPixel As Byte
 BytesPerPixel As Byte
 Rloss As Byte
 Gloss As Byte
 Bloss As Byte
 Aloss As Byte
 Rshift As Byte
 Gshift As Byte
 Bshift As Byte
 Ashift As Byte
 Rmask As Long
 Gmask As Long
 Bmask As Long
 Amask As Long
 colorkey As Long
 alpha As Byte
End Type '37 bytes
Public Type SDL_Surface
 flags As Long
 format As Long 'SDL_PixelFormat*
 w As Long
 h As Long
 pitch As Integer
 pixels As Long 'Void*
 offset As Long
 hwdata As Long 'private_hwdata*
 clip_rect As SDL_Rect
 unused1 As Long
 locked As Long
 map As Long 'SDL_BlitMap*
 format_version As Long
 refcount As Long
End Type '60 bytes
Public Const SDL_SWSURFACE As Long = &H00000000&
Public Const SDL_HWSURFACE As Long = &H00000001&
Public Const SDL_ASYNCBLIT As Long = &H00000004&
Public Const SDL_ANYFORMAT As Long = &H10000000&
Public Const SDL_HWPALETTE As Long = &H20000000&
Public Const SDL_DOUBLEBUF As Long = &H40000000&
Public Const SDL_FULLSCREEN As Long = &H80000000&
Public Const SDL_OPENGL As Long = &H00000002&
Public Const SDL_OPENGLBLIT As Long = &H0000000A&
Public Const SDL_RESIZABLE As Long = &H00000010&
Public Const SDL_NOFRAME As Long = &H00000020&
Public Const SDL_HWACCEL As Long = &H00000100&
Public Const SDL_SRCCOLORKEY As Long = &H00001000&
Public Const SDL_RLEACCELOK As Long = &H00002000&
Public Const SDL_RLEACCEL As Long = &H00004000&
Public Const SDL_SRCALPHA As Long = &H00010000&
Public Const SDL_PREALLOC As Long = &H01000000&
'typedef int p.f(p.struct SDL_Surface,p.SDL_Rect,p.struct SDL_Surface,p.SDL_Rect). SDL_blit; ==> Long
Public Type SDL_VideoInfo
 hw_available As Long
 wm_available As Long
 UnusedBits1 As Long
 UnusedBits2 As Long
 blit_hw As Long
 blit_hw_CC As Long
 blit_hw_A As Long
 blit_sw As Long
 blit_sw_CC As Long
 blit_sw_A As Long
 blit_fill As Long
 UnusedBits3 As Long
 video_mem As Long
 vfmt As Long 'SDL_PixelFormat*
 current_w As Long
 current_h As Long
End Type '64 bytes
Public Const SDL_YV12_OVERLAY As Long = &H32315659&
Public Const SDL_IYUV_OVERLAY As Long = &H56555949&
Public Const SDL_YUY2_OVERLAY As Long = &H32595559&
Public Const SDL_UYVY_OVERLAY As Long = &H59565955&
Public Const SDL_YVYU_OVERLAY As Long = &H55595659&
Public Type SDL_Overlay
 format As Long
 w As Long
 h As Long
 planes As Long
 pitches As Long 'Integer*
 pixels As Long 'Byte**
 hwfuncs As Long 'private_yuvhwfuncs*
 hwdata As Long 'private_yuvhwdata*
 hw_overlay As Long
 UnusedBits As Long
End Type '40 bytes
Public Enum SDL_GLattr
 SDL_GL_RED_SIZE
 SDL_GL_GREEN_SIZE
 SDL_GL_BLUE_SIZE
 SDL_GL_ALPHA_SIZE
 SDL_GL_BUFFER_SIZE
 SDL_GL_DOUBLEBUFFER
 SDL_GL_DEPTH_SIZE
 SDL_GL_STENCIL_SIZE
 SDL_GL_ACCUM_RED_SIZE
 SDL_GL_ACCUM_GREEN_SIZE
 SDL_GL_ACCUM_BLUE_SIZE
 SDL_GL_ACCUM_ALPHA_SIZE
 SDL_GL_STEREO
 SDL_GL_MULTISAMPLEBUFFERS
 SDL_GL_MULTISAMPLESAMPLES
 SDL_GL_ACCELERATED_VISUAL
 SDL_GL_SWAP_CONTROL
End Enum
Public Const SDL_LOGPAL As Long = &H01&
Public Const SDL_PHYSPAL As Long = &H02&
Public Declare Function SDL_VideoInit Lib "SDL_VB.dll" (ByRef driver_name_ As Any, ByVal flags_ As Long) As Long
Public Declare Sub SDL_VideoQuit Lib "SDL_VB.dll" ()
Public Declare Function SDL_VideoDriverName Lib "SDL_VB.dll" (ByRef namebuf_ As Any, ByVal maxlen_ As Long) As Long 'Byte*
Public Declare Function SDL_GetVideoSurface Lib "SDL_VB.dll" () As Long 'SDL_Surface*
Public Declare Function SDL_GetVideoInfo Lib "SDL_VB.dll" () As Long 'SDL_VideoInfo*
Public Declare Function SDL_VideoModeOK Lib "SDL_VB.dll" (ByVal width_ As Long, ByVal height_ As Long, ByVal bpp_ As Long, ByVal flags_ As Long) As Long
Public Declare Function SDL_ListModes Lib "SDL_VB.dll" (ByRef format_ As SDL_PixelFormat, ByVal flags_ As Long) As Long 'SDL_Rect**
Public Declare Function SDL_SetVideoMode Lib "SDL_VB.dll" (ByVal width_ As Long, ByVal height_ As Long, ByVal bpp_ As Long, ByVal flags_ As Long) As Long 'SDL_Surface*
Public Declare Sub SDL_UpdateRects Lib "SDL_VB.dll" (ByRef screen_ As SDL_Surface, ByVal numrects_ As Long, ByRef rects_ As SDL_Rect)
Public Declare Sub SDL_UpdateRect Lib "SDL_VB.dll" (ByRef screen_ As SDL_Surface, ByVal x_ As Long, ByVal y_ As Long, ByVal w_ As Long, ByVal h_ As Long)
Public Declare Function SDL_Flip Lib "SDL_VB.dll" (ByRef screen_ As SDL_Surface) As Long
Public Declare Function SDL_SetGamma Lib "SDL_VB.dll" (ByVal red_ As Single, ByVal green_ As Single, ByVal blue_ As Single) As Long
Public Declare Function SDL_SetGammaRamp Lib "SDL_VB.dll" (ByRef red_ As Integer, ByRef green_ As Integer, ByRef blue_ As Integer) As Long
Public Declare Function SDL_GetGammaRamp Lib "SDL_VB.dll" (ByRef red_ As Integer, ByRef green_ As Integer, ByRef blue_ As Integer) As Long
Public Declare Function SDL_SetColors Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface, ByRef colors_ As SDL_Color, ByVal firstcolor_ As Long, ByVal ncolors_ As Long) As Long
Public Declare Function SDL_SetPalette Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface, ByVal flags_ As Long, ByRef colors_ As SDL_Color, ByVal firstcolor_ As Long, ByVal ncolors_ As Long) As Long
Public Declare Function SDL_MapRGB Lib "SDL_VB.dll" (ByRef format_ As SDL_PixelFormat, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte) As Long
Public Declare Function SDL_MapRGBA Lib "SDL_VB.dll" (ByRef format_ As SDL_PixelFormat, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Sub SDL_GetRGB Lib "SDL_VB.dll" (ByVal pixel_ As Long, ByRef fmt_ As SDL_PixelFormat, ByRef r_ As Any, ByRef g_ As Any, ByRef b_ As Any)
Public Declare Sub SDL_GetRGBA Lib "SDL_VB.dll" (ByVal pixel_ As Long, ByRef fmt_ As SDL_PixelFormat, ByRef r_ As Any, ByRef g_ As Any, ByRef b_ As Any, ByRef a_ As Any)
Public Declare Function SDL_CreateRGBSurface Lib "SDL_VB.dll" (ByVal flags_ As Long, ByVal width_ As Long, ByVal height_ As Long, ByVal depth_ As Long, ByVal Rmask_ As Long, ByVal Gmask_ As Long, ByVal Bmask_ As Long, ByVal Amask_ As Long) As Long 'SDL_Surface*
Public Declare Function SDL_CreateRGBSurfaceFrom Lib "SDL_VB.dll" (ByRef pixels_ As Any, ByVal width_ As Long, ByVal height_ As Long, ByVal depth_ As Long, ByVal pitch_ As Long, ByVal Rmask_ As Long, ByVal Gmask_ As Long, ByVal Bmask_ As Long, ByVal Amask_ As Long) As Long 'SDL_Surface*
Public Declare Sub SDL_FreeSurface Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface)
Public Declare Function SDL_LockSurface Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface) As Long
Public Declare Sub SDL_UnlockSurface Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface)
Public Declare Function SDL_LoadBMP_RW Lib "SDL_VB.dll" (ByVal src_ As Long, ByVal freesrc_ As Long) As Long 'SDL_Surface*
Public Declare Function SDL_SaveBMP_RW Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface, ByVal dst_ As Long, ByVal freedst_ As Long) As Long
Public Declare Function SDL_SetColorKey Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface, ByVal flag_ As Long, ByVal key_ As Long) As Long
Public Declare Function SDL_SetAlpha Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface, ByVal flag_ As Long, ByVal alpha_ As Byte) As Long
Public Declare Function SDL_SetClipRect Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface, ByRef rect_ As SDL_Rect) As SDL_bool
Public Declare Sub SDL_GetClipRect Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface, ByRef rect_ As SDL_Rect)
Public Declare Function SDL_ConvertSurface Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByRef fmt_ As SDL_PixelFormat, ByVal flags_ As Long) As Long 'SDL_Surface*
Public Declare Function SDL_UpperBlit Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByRef srcrect_ As SDL_Rect, ByRef dst_ As SDL_Surface, ByRef dstrect_ As SDL_Rect) As Long
Public Declare Function SDL_LowerBlit Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByRef srcrect_ As SDL_Rect, ByRef dst_ As SDL_Surface, ByRef dstrect_ As SDL_Rect) As Long
Public Declare Function SDL_FillRect Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef dstrect_ As SDL_Rect, ByVal color_ As Long) As Long
Public Declare Function SDL_DisplayFormat Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface) As Long 'SDL_Surface*
Public Declare Function SDL_DisplayFormatAlpha Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface) As Long 'SDL_Surface*
Public Declare Function SDL_CreateYUVOverlay Lib "SDL_VB.dll" (ByVal width_ As Long, ByVal height_ As Long, ByVal format_ As Long, ByRef display_ As SDL_Surface) As Long 'SDL_Overlay*
Public Declare Function SDL_LockYUVOverlay Lib "SDL_VB.dll" (ByRef overlay_ As SDL_Overlay) As Long
Public Declare Sub SDL_UnlockYUVOverlay Lib "SDL_VB.dll" (ByRef overlay_ As SDL_Overlay)
Public Declare Function SDL_DisplayYUVOverlay Lib "SDL_VB.dll" (ByRef overlay_ As SDL_Overlay, ByRef dstrect_ As SDL_Rect) As Long
Public Declare Sub SDL_FreeYUVOverlay Lib "SDL_VB.dll" (ByRef overlay_ As SDL_Overlay)
Public Declare Function SDL_GL_LoadLibrary Lib "SDL_VB.dll" (ByRef path_ As Any) As Long
Public Declare Function SDL_GL_GetProcAddress Lib "SDL_VB.dll" (ByRef proc_ As Any) As Long 'Void*
Public Declare Function SDL_GL_SetAttribute Lib "SDL_VB.dll" (ByVal attr_ As SDL_GLattr, ByVal value_ As Long) As Long
Public Declare Function SDL_GL_GetAttribute Lib "SDL_VB.dll" (ByVal attr_ As SDL_GLattr, ByRef value_ As Long) As Long
Public Declare Sub SDL_GL_SwapBuffers Lib "SDL_VB.dll" ()
Public Declare Sub SDL_GL_UpdateRects Lib "SDL_VB.dll" (ByVal numrects_ As Long, ByRef rects_ As SDL_Rect)
Public Declare Sub SDL_GL_Lock Lib "SDL_VB.dll" ()
Public Declare Sub SDL_GL_Unlock Lib "SDL_VB.dll" ()
Public Declare Sub SDL_WM_SetCaption Lib "SDL_VB.dll" (ByRef title_ As Any, ByRef icon_ As Any)
Public Declare Sub SDL_WM_GetCaption Lib "SDL_VB.dll" (ByRef title_ As Long, ByRef icon_ As Long)
Public Declare Sub SDL_WM_SetIcon Lib "SDL_VB.dll" (ByRef icon_ As SDL_Surface, ByRef mask_ As Any)
Public Declare Function SDL_WM_IconifyWindow Lib "SDL_VB.dll" () As Long
Public Declare Function SDL_WM_ToggleFullScreen Lib "SDL_VB.dll" (ByRef surface_ As SDL_Surface) As Long
Public Enum SDL_GrabMode
 SDL_GRAB_QUERY = -1
 SDL_GRAB_OFF = 0
 SDL_GRAB_ON = 1
 SDL_GRAB_FULLSCREEN
End Enum
Public Declare Function SDL_WM_GrabInput Lib "SDL_VB.dll" (ByVal mode_ As SDL_GrabMode) As SDL_GrabMode
Public Declare Function SDL_SoftStretch Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByRef srcrect_ As SDL_Rect, ByRef dst_ As SDL_Surface, ByRef dstrect_ As SDL_Rect) As Long
'--- F:\Projects\SDL-1.2.14\include\SDL_mouse.h ---
'typedef struct WMcursor  WMcursor; ==> $Opaque$
Public Type SDL_Cursor
 area As SDL_Rect
 hot_x As Integer
 hot_y As Integer
 data As Long 'Byte*
 mask As Long 'Byte*
 save(0 To 2 - 1) As Long 'Byte*
 wm_cursor As Long
End Type '32 bytes
Public Declare Function SDL_GetMouseState Lib "SDL_VB.dll" (ByRef x_ As Long, ByRef y_ As Long) As Byte
Public Declare Function SDL_GetRelativeMouseState Lib "SDL_VB.dll" (ByRef x_ As Long, ByRef y_ As Long) As Byte
Public Declare Sub SDL_WarpMouse Lib "SDL_VB.dll" (ByVal x_ As Integer, ByVal y_ As Integer)
Public Declare Function SDL_CreateCursor Lib "SDL_VB.dll" (ByRef data_ As Any, ByRef mask_ As Any, ByVal w_ As Long, ByVal h_ As Long, ByVal hot_x_ As Long, ByVal hot_y_ As Long) As Long 'SDL_Cursor*
Public Declare Sub SDL_SetCursor Lib "SDL_VB.dll" (ByRef cursor_ As SDL_Cursor)
Public Declare Function SDL_GetCursor Lib "SDL_VB.dll" () As Long 'SDL_Cursor*
Public Declare Sub SDL_FreeCursor Lib "SDL_VB.dll" (ByRef cursor_ As SDL_Cursor)
Public Declare Function SDL_ShowCursor Lib "SDL_VB.dll" (ByVal toggle_ As Long) As Long
Public Const SDL_BUTTON_LEFT As Long = 1
Public Const SDL_BUTTON_MIDDLE As Long = 2
Public Const SDL_BUTTON_RIGHT As Long = 3
Public Const SDL_BUTTON_WHEELUP As Long = 4
Public Const SDL_BUTTON_WHEELDOWN As Long = 5
Public Const SDL_BUTTON_X1 As Long = 6
Public Const SDL_BUTTON_X2 As Long = 7
Public Const SDL_BUTTON_LMASK As Long = (1  * 2 ^  ((1) -1))
Public Const SDL_BUTTON_MMASK As Long = (1  * 2 ^  ((2) -1))
Public Const SDL_BUTTON_RMASK As Long = (1  * 2 ^  ((3) -1))
Public Const SDL_BUTTON_X1MASK As Long = (1  * 2 ^  ((6) -1))
Public Const SDL_BUTTON_X2MASK As Long = (1  * 2 ^  ((7) -1))
'--- F:\Projects\SDL-1.2.14\include\SDL_events.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_joystick.h ---
'typedef struct _SDL_Joystick  SDL_Joystick; ==> $Opaque$
Public Declare Function SDL_NumJoysticks Lib "SDL_VB.dll" () As Long
Public Declare Function SDL_JoystickName Lib "SDL_VB.dll" (ByVal device_index_ As Long) As Long 'Byte*
Public Declare Function SDL_JoystickOpen Lib "SDL_VB.dll" (ByVal device_index_ As Long) As Long
Public Declare Function SDL_JoystickOpened Lib "SDL_VB.dll" (ByVal device_index_ As Long) As Long
Public Declare Function SDL_JoystickIndex Lib "SDL_VB.dll" (ByVal joystick_ As Long) As Long
Public Declare Function SDL_JoystickNumAxes Lib "SDL_VB.dll" (ByVal joystick_ As Long) As Long
Public Declare Function SDL_JoystickNumBalls Lib "SDL_VB.dll" (ByVal joystick_ As Long) As Long
Public Declare Function SDL_JoystickNumHats Lib "SDL_VB.dll" (ByVal joystick_ As Long) As Long
Public Declare Function SDL_JoystickNumButtons Lib "SDL_VB.dll" (ByVal joystick_ As Long) As Long
Public Declare Sub SDL_JoystickUpdate Lib "SDL_VB.dll" ()
Public Declare Function SDL_JoystickEventState Lib "SDL_VB.dll" (ByVal state_ As Long) As Long
Public Declare Function SDL_JoystickGetAxis Lib "SDL_VB.dll" (ByVal joystick_ As Long, ByVal axis_ As Long) As Integer
Public Const SDL_HAT_CENTERED As Long = &H00&
Public Const SDL_HAT_UP As Long = &H01&
Public Const SDL_HAT_RIGHT As Long = &H02&
Public Const SDL_HAT_DOWN As Long = &H04&
Public Const SDL_HAT_LEFT As Long = &H08&
Public Const SDL_HAT_RIGHTUP As Long = (&H02& Or &H01&)
Public Const SDL_HAT_RIGHTDOWN As Long = (&H02& Or &H04&)
Public Const SDL_HAT_LEFTUP As Long = (&H08& Or &H01&)
Public Const SDL_HAT_LEFTDOWN As Long = (&H08& Or &H04&)
Public Declare Function SDL_JoystickGetHat Lib "SDL_VB.dll" (ByVal joystick_ As Long, ByVal hat_ As Long) As Byte
Public Declare Function SDL_JoystickGetBall Lib "SDL_VB.dll" (ByVal joystick_ As Long, ByVal ball_ As Long, ByRef dx_ As Long, ByRef dy_ As Long) As Long
Public Declare Function SDL_JoystickGetButton Lib "SDL_VB.dll" (ByVal joystick_ As Long, ByVal button_ As Long) As Byte
Public Declare Sub SDL_JoystickClose Lib "SDL_VB.dll" (ByVal joystick_ As Long)
'--- F:\Projects\SDL-1.2.14\include\SDL_events.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_quit.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_events.h ---
Public Const SDL_RELEASED As Long = 0
Public Const SDL_PRESSED As Long = 1
Public Enum SDL_EventType
 SDL_NOEVENT = 0
 SDL_ACTIVEEVENT
 SDL_KEYDOWN
 SDL_KEYUP
 SDL_MOUSEMOTION
 SDL_MOUSEBUTTONDOWN
 SDL_MOUSEBUTTONUP
 SDL_JOYAXISMOTION
 SDL_JOYBALLMOTION
 SDL_JOYHATMOTION
 SDL_JOYBUTTONDOWN
 SDL_JOYBUTTONUP
 SDL_QUIT_
 SDL_SYSWMEVENT
 SDL_EVENT_RESERVEDA
 SDL_EVENT_RESERVEDB
 SDL_VIDEORESIZE
 SDL_VIDEOEXPOSE
 SDL_EVENT_RESERVED2
 SDL_EVENT_RESERVED3
 SDL_EVENT_RESERVED4
 SDL_EVENT_RESERVED5
 SDL_EVENT_RESERVED6
 SDL_EVENT_RESERVED7
 SDL_USEREVENT = 24
 SDL_NUMEVENTS = 32
End Enum
Public Enum SDL_EventMask
 SDL_ACTIVEEVENTMASK = (1  * 2 ^  (SDL_ACTIVEEVENT))
 SDL_KEYDOWNMASK = (1  * 2 ^  (SDL_KEYDOWN))
 SDL_KEYUPMASK = (1  * 2 ^  (SDL_KEYUP))
 SDL_KEYEVENTMASK = (1  * 2 ^  (SDL_KEYDOWN)) Or (1  * 2 ^  (SDL_KEYUP))
 SDL_MOUSEMOTIONMASK = (1  * 2 ^  (SDL_MOUSEMOTION))
 SDL_MOUSEBUTTONDOWNMASK = (1  * 2 ^  (SDL_MOUSEBUTTONDOWN))
 SDL_MOUSEBUTTONUPMASK = (1  * 2 ^  (SDL_MOUSEBUTTONUP))
 SDL_MOUSEEVENTMASK = (1  * 2 ^  (SDL_MOUSEMOTION)) Or (1  * 2 ^  (SDL_MOUSEBUTTONDOWN)) Or (1  * 2 ^  (SDL_MOUSEBUTTONUP))
 SDL_JOYAXISMOTIONMASK = (1  * 2 ^  (SDL_JOYAXISMOTION))
 SDL_JOYBALLMOTIONMASK = (1  * 2 ^  (SDL_JOYBALLMOTION))
 SDL_JOYHATMOTIONMASK = (1  * 2 ^  (SDL_JOYHATMOTION))
 SDL_JOYBUTTONDOWNMASK = (1  * 2 ^  (SDL_JOYBUTTONDOWN))
 SDL_JOYBUTTONUPMASK = (1  * 2 ^  (SDL_JOYBUTTONUP))
 SDL_JOYEVENTMASK = (1  * 2 ^  (SDL_JOYAXISMOTION)) Or (1  * 2 ^  (SDL_JOYBALLMOTION)) Or (1  * 2 ^  (SDL_JOYHATMOTION)) Or (1  * 2 ^  (SDL_JOYBUTTONDOWN)) Or (1  * 2 ^  (SDL_JOYBUTTONUP))
 SDL_VIDEORESIZEMASK = (1  * 2 ^  (SDL_VIDEORESIZE))
 SDL_VIDEOEXPOSEMASK = (1  * 2 ^  (SDL_VIDEOEXPOSE))
 SDL_QUITMASK = (1  * 2 ^  (SDL_QUIT_))
 SDL_SYSWMEVENTMASK = (1  * 2 ^  (SDL_SYSWMEVENT))
End Enum
Public Const SDL_ALLEVENTS As Long = &HFFFFFFFF&
Public Type SDL_ActiveEvent
 type As Byte
 gain As Byte
 state As Byte
End Type '3 bytes
Public Type SDL_KeyboardEvent
 type As Byte
 which As Byte
 state As Byte
 keysym As SDL_keysym
End Type '18 bytes
Public Type SDL_MouseMotionEvent
 type As Byte
 which As Byte
 state As Byte
 x As Integer
 y As Integer
 xrel As Integer
 yrel As Integer
End Type '12 bytes
Public Type SDL_MouseButtonEvent
 type As Byte
 which As Byte
 button As Byte
 state As Byte
 x As Integer
 y As Integer
End Type '8 bytes
Public Type SDL_JoyAxisEvent
 type As Byte
 which As Byte
 axis As Byte
 value As Integer
End Type '6 bytes
Public Type SDL_JoyBallEvent
 type As Byte
 which As Byte
 ball As Byte
 xrel As Integer
 yrel As Integer
End Type '8 bytes
Public Type SDL_JoyHatEvent
 type As Byte
 which As Byte
 hat As Byte
 value As Byte
End Type '4 bytes
Public Type SDL_JoyButtonEvent
 type As Byte
 which As Byte
 button As Byte
 state As Byte
End Type '4 bytes
Public Type SDL_ResizeEvent
 type As Byte
 w As Long
 h As Long
End Type '12 bytes
Public Type SDL_ExposeEvent
 type As Byte
End Type '1 bytes
Public Type SDL_QuitEvent
 type As Byte
End Type '1 bytes
Public Type SDL_UserEvent
 type As Byte
 code As Long
 data1 As Long 'Void*
 data2 As Long 'Void*
End Type '16 bytes
'typedef struct SDL_SysWMmsg  SDL_SysWMmsg; ==> $Opaque$
Public Type SDL_SysWMEvent
 type As Byte
 msg As Long
End Type '8 bytes
'Public Union SDL_Event
Public Type SDL_Event
' type As Byte
' active As SDL_ActiveEvent
' key As SDL_KeyboardEvent
' motion As SDL_MouseMotionEvent
' button As SDL_MouseButtonEvent
' jaxis As SDL_JoyAxisEvent
' jball As SDL_JoyBallEvent
' jhat As SDL_JoyHatEvent
' jbutton As SDL_JoyButtonEvent
' resize As SDL_ResizeEvent
' expose As SDL_ExposeEvent
' quit As SDL_QuitEvent
' user As SDL_UserEvent
' syswm As SDL_SysWMEvent
 b(0 To 18 - 1) As Byte
End Type '18 bytes
Public Declare Sub SDL_PumpEvents Lib "SDL_VB.dll" ()
Public Enum SDL_eventaction
 SDL_ADDEVENT
 SDL_PEEKEVENT
 SDL_GETEVENT
End Enum
Public Declare Function SDL_PeepEvents Lib "SDL_VB.dll" (ByRef events_ As SDL_Event, ByVal numevents_ As Long, ByVal action_ As SDL_eventaction, ByVal mask_ As Long) As Long
Public Declare Function SDL_PollEvent Lib "SDL_VB.dll" (ByRef event_ As SDL_Event) As Long
Public Declare Function SDL_WaitEvent Lib "SDL_VB.dll" (ByRef event_ As SDL_Event) As Long
Public Declare Function SDL_PushEvent Lib "SDL_VB.dll" (ByRef event_ As SDL_Event) As Long
'typedef int p.f(p.q(const).SDL_Event). SDL_EventFilter; ==> Long
Public Declare Sub SDL_SetEventFilter Lib "SDL_VB.dll" (ByVal filter_ As Long)
Public Declare Function SDL_GetEventFilter Lib "SDL_VB.dll" () As Long
Public Const SDL_QUERY As Long = -1
Public Const SDL_IGNORE As Long = 0
Public Const SDL_DISABLE As Long = 0
Public Const SDL_ENABLE As Long = 1
Public Declare Function SDL_EventState Lib "SDL_VB.dll" (ByVal type_ As Byte, ByVal state_ As Long) As Byte
'--- F:\Projects\SDL-1.2.14\include\SDL.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_loadso.h ---
Public Declare Function SDL_LoadObject Lib "SDL_VB.dll" (ByRef sofile_ As Any) As Long 'Void*
Public Declare Function SDL_LoadFunction Lib "SDL_VB.dll" (ByRef handle_ As Any, ByRef name_ As Any) As Long 'Void*
Public Declare Sub SDL_UnloadObject Lib "SDL_VB.dll" (ByRef handle_ As Any)
'--- F:\Projects\SDL-1.2.14\include\SDL.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_timer.h ---
Public Const SDL_TIMESLICE As Long = 10
Public Const TIMER_RESOLUTION As Long = 10
Public Declare Function SDL_GetTicks Lib "SDL_VB.dll" () As Long
Public Declare Sub SDL_Delay Lib "SDL_VB.dll" (ByVal ms_ As Long)
'typedef Uint32 p.f(Uint32). SDL_TimerCallback; ==> Long
Public Declare Function SDL_SetTimer Lib "SDL_VB.dll" (ByVal interval_ As Long, ByVal callback_ As Long) As Long
'typedef Uint32 p.f(Uint32,p.void). SDL_NewTimerCallback; ==> Long
'typedef struct _SDL_TimerID p. SDL_TimerID; ==> Long
Public Declare Function SDL_AddTimer Lib "SDL_VB.dll" (ByVal interval_ As Long, ByVal callback_ As Long, ByRef param_ As Any) As Long
Public Declare Function SDL_RemoveTimer Lib "SDL_VB.dll" (ByVal t_ As Long) As SDL_bool
'--- F:\Projects\SDL-1.2.14\include\SDL.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_version.h ---
Public Const SDL_MAJOR_VERSION As Long = 1
Public Const SDL_MINOR_VERSION As Long = 2
Public Const SDL_PATCHLEVEL As Long = 14
Public Type SDL_version
 major As Byte
 minor As Byte
 patch As Byte
End Type '3 bytes
Public Const SDL_COMPILEDVERSION As Long = ((1) *1000+(2) *100+(14))
Public Declare Function SDL_Linked_Version Lib "SDL_VB.dll" () As Long 'SDL_version*
'--- F:\Projects\SDL-1.2.14\include\SDL.h ---
Public Const SDL_INIT_TIMER As Long = &H00000001&
Public Const SDL_INIT_AUDIO As Long = &H00000010&
Public Const SDL_INIT_VIDEO As Long = &H00000020&
Public Const SDL_INIT_CDROM As Long = &H00000100&
Public Const SDL_INIT_JOYSTICK As Long = &H00000200&
Public Const SDL_INIT_NOPARACHUTE As Long = &H00100000&
Public Const SDL_INIT_EVENTTHREAD As Long = &H01000000&
Public Const SDL_INIT_EVERYTHING As Long = &H0000FFFF&
Public Declare Function SDL_Init Lib "SDL_VB.dll" (ByVal flags_ As Long) As Long
Public Declare Function SDL_InitSubSystem Lib "SDL_VB.dll" (ByVal flags_ As Long) As Long
Public Declare Sub SDL_QuitSubSystem Lib "SDL_VB.dll" (ByVal flags_ As Long)
Public Declare Function SDL_WasInit Lib "SDL_VB.dll" (ByVal flags_ As Long) As Long
Public Declare Sub SDL_Quit Lib "SDL_VB.dll" ()
'--- F:\Projects\SDL_VB\SDL_VB.i ---
'--- F:\Projects\SDL-1.2.14\include\SDL_mixer.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_types.h ---
'--- F:\Projects\SDL-1.2.14\include\SDL_mixer.h ---
Public Const SDL_MIXER_MAJOR_VERSION As Long = 1
Public Const SDL_MIXER_MINOR_VERSION As Long = 2
Public Const SDL_MIXER_PATCHLEVEL As Long = 11
Public Const MIX_MAJOR_VERSION As Long = 1
Public Const MIX_MINOR_VERSION As Long = 2
Public Const MIX_PATCHLEVEL As Long = 11
Public Declare Function Mix_Linked_Version Lib "SDL_VB.dll" () As Long 'SDL_version*
Public Enum MIX_InitFlags
 MIX_INIT_FLAC = &H00000001&
 MIX_INIT_MOD = &H00000002&
 MIX_INIT_MP3 = &H00000004&
 MIX_INIT_OGG = &H00000008&
End Enum
Public Declare Function Mix_Init Lib "SDL_VB.dll" (ByVal flags_ As Long) As Long
Public Declare Sub Mix_Quit Lib "SDL_VB.dll" ()
Public Const MIX_CHANNELS As Long = 8
Public Const MIX_DEFAULT_FREQUENCY As Long = 22050
Public Const MIX_DEFAULT_FORMAT As Long = &H8010&
Public Const MIX_DEFAULT_CHANNELS As Long = 2
Public Const MIX_MAX_VOLUME As Long = 128
Public Type Mix_Chunk
 allocated As Long
 abuf As Long 'Byte*
 alen As Long
 volume As Byte
End Type '13 bytes
Public Enum Mix_Fading
 MIX_NO_FADING
 MIX_FADING_OUT
 MIX_FADING_IN
End Enum
Public Enum Mix_MusicType
 MUS_NONE
 MUS_CMD
 MUS_WAV
 MUS_MOD
 MUS_MID
 MUS_OGG
 MUS_MP3
 MUS_MP3_MAD
 MUS_FLAC
End Enum
'typedef struct _Mix_Music  Mix_Music; ==> $Opaque$
Public Declare Function Mix_OpenAudio Lib "SDL_VB.dll" (ByVal frequency_ As Long, ByVal format_ As Integer, ByVal channels_ As Long, ByVal chunksize_ As Long) As Long
Public Declare Function Mix_AllocateChannels Lib "SDL_VB.dll" (ByVal numchans_ As Long) As Long
Public Declare Function Mix_QuerySpec Lib "SDL_VB.dll" (ByRef frequency_ As Long, ByRef format_ As Integer, ByRef channels_ As Long) As Long
Public Declare Function Mix_LoadWAV_RW Lib "SDL_VB.dll" (ByVal src_ As Long, ByVal freesrc_ As Long) As Long 'Mix_Chunk*
Public Declare Function Mix_LoadMUS Lib "SDL_VB.dll" (ByRef file_ As Any) As Long
Public Declare Function Mix_LoadMUS_RW Lib "SDL_VB.dll" (ByVal rw_ As Long) As Long
Public Declare Function Mix_QuickLoad_WAV Lib "SDL_VB.dll" (ByRef mem_ As Any) As Long 'Mix_Chunk*
Public Declare Function Mix_QuickLoad_RAW Lib "SDL_VB.dll" (ByRef mem_ As Any, ByVal len_ As Long) As Long 'Mix_Chunk*
Public Declare Sub Mix_FreeChunk Lib "SDL_VB.dll" (ByRef chunk_ As Mix_Chunk)
Public Declare Sub Mix_FreeMusic Lib "SDL_VB.dll" (ByVal music_ As Long)
Public Declare Function Mix_GetNumChunkDecoders Lib "SDL_VB.dll" () As Long
Public Declare Function Mix_GetChunkDecoder Lib "SDL_VB.dll" (ByVal index_ As Long) As Long 'Byte*
Public Declare Function Mix_GetNumMusicDecoders Lib "SDL_VB.dll" () As Long
Public Declare Function Mix_GetMusicDecoder Lib "SDL_VB.dll" (ByVal index_ As Long) As Long 'Byte*
Public Declare Function Mix_GetMusicType Lib "SDL_VB.dll" (ByVal music_ As Long) As Mix_MusicType
Public Declare Sub Mix_SetPostMix Lib "SDL_VB.dll" (ByRef mix_func_ As Long, ByRef arg_ As Any)
Public Declare Sub Mix_HookMusic Lib "SDL_VB.dll" (ByRef mix_func_ As Long, ByRef arg_ As Any)
Public Declare Sub Mix_HookMusicFinished Lib "SDL_VB.dll" (ByRef music_finished_ As Long)
Public Declare Function Mix_GetMusicHookData Lib "SDL_VB.dll" () As Long 'Void*
Public Declare Sub Mix_ChannelFinished Lib "SDL_VB.dll" (ByRef channel_finished_ As Long)
Public Const MIX_CHANNEL_POST As Long = -2
'typedef void p.f(int,p.void,int,p.void). Mix_EffectFunc_t; ==> Long
'typedef void p.f(int,p.void). Mix_EffectDone_t; ==> Long
Public Declare Function Mix_RegisterEffect Lib "SDL_VB.dll" (ByVal chan_ As Long, ByVal f_ As Long, ByVal d_ As Long, ByRef arg_ As Any) As Long
Public Declare Function Mix_UnregisterEffect Lib "SDL_VB.dll" (ByVal channel_ As Long, ByVal f_ As Long) As Long
Public Declare Function Mix_UnregisterAllEffects Lib "SDL_VB.dll" (ByVal channel_ As Long) As Long
Public Const MIX_EFFECTSMAXSPEED As String = "MIX_EFFECTSMAXSPEED"
Public Declare Function Mix_SetPanning Lib "SDL_VB.dll" (ByVal channel_ As Long, ByVal left_ As Byte, ByVal right_ As Byte) As Long
Public Declare Function Mix_SetPosition Lib "SDL_VB.dll" (ByVal channel_ As Long, ByVal angle_ As Integer, ByVal distance_ As Byte) As Long
Public Declare Function Mix_SetDistance Lib "SDL_VB.dll" (ByVal channel_ As Long, ByVal distance_ As Byte) As Long
Public Declare Function Mix_SetReverseStereo Lib "SDL_VB.dll" (ByVal channel_ As Long, ByVal flip_ As Long) As Long
Public Declare Function Mix_ReserveChannels Lib "SDL_VB.dll" (ByVal num_ As Long) As Long
Public Declare Function Mix_GroupChannel Lib "SDL_VB.dll" (ByVal which_ As Long, ByVal tag_ As Long) As Long
Public Declare Function Mix_GroupChannels Lib "SDL_VB.dll" (ByVal from_ As Long, ByVal to_ As Long, ByVal tag_ As Long) As Long
Public Declare Function Mix_GroupAvailable Lib "SDL_VB.dll" (ByVal tag_ As Long) As Long
Public Declare Function Mix_GroupCount Lib "SDL_VB.dll" (ByVal tag_ As Long) As Long
Public Declare Function Mix_GroupOldest Lib "SDL_VB.dll" (ByVal tag_ As Long) As Long
Public Declare Function Mix_GroupNewer Lib "SDL_VB.dll" (ByVal tag_ As Long) As Long
Public Declare Function Mix_PlayChannelTimed Lib "SDL_VB.dll" (ByVal channel_ As Long, ByRef chunk_ As Mix_Chunk, ByVal loops_ As Long, ByVal ticks_ As Long) As Long
Public Declare Function Mix_PlayMusic Lib "SDL_VB.dll" (ByVal music_ As Long, ByVal loops_ As Long) As Long
Public Declare Function Mix_FadeInMusic Lib "SDL_VB.dll" (ByVal music_ As Long, ByVal loops_ As Long, ByVal ms_ As Long) As Long
Public Declare Function Mix_FadeInMusicPos Lib "SDL_VB.dll" (ByVal music_ As Long, ByVal loops_ As Long, ByVal ms_ As Long, ByVal position_ As Double) As Long
Public Declare Function Mix_FadeInChannelTimed Lib "SDL_VB.dll" (ByVal channel_ As Long, ByRef chunk_ As Mix_Chunk, ByVal loops_ As Long, ByVal ms_ As Long, ByVal ticks_ As Long) As Long
Public Declare Function Mix_Volume Lib "SDL_VB.dll" (ByVal channel_ As Long, ByVal volume_ As Long) As Long
Public Declare Function Mix_VolumeChunk Lib "SDL_VB.dll" (ByRef chunk_ As Mix_Chunk, ByVal volume_ As Long) As Long
Public Declare Function Mix_VolumeMusic Lib "SDL_VB.dll" (ByVal volume_ As Long) As Long
Public Declare Function Mix_HaltChannel Lib "SDL_VB.dll" (ByVal channel_ As Long) As Long
Public Declare Function Mix_HaltGroup Lib "SDL_VB.dll" (ByVal tag_ As Long) As Long
Public Declare Function Mix_HaltMusic Lib "SDL_VB.dll" () As Long
Public Declare Function Mix_ExpireChannel Lib "SDL_VB.dll" (ByVal channel_ As Long, ByVal ticks_ As Long) As Long
Public Declare Function Mix_FadeOutChannel Lib "SDL_VB.dll" (ByVal which_ As Long, ByVal ms_ As Long) As Long
Public Declare Function Mix_FadeOutGroup Lib "SDL_VB.dll" (ByVal tag_ As Long, ByVal ms_ As Long) As Long
Public Declare Function Mix_FadeOutMusic Lib "SDL_VB.dll" (ByVal ms_ As Long) As Long
Public Declare Function Mix_FadingMusic Lib "SDL_VB.dll" () As Mix_Fading
Public Declare Function Mix_FadingChannel Lib "SDL_VB.dll" (ByVal which_ As Long) As Mix_Fading
Public Declare Sub Mix_Pause Lib "SDL_VB.dll" (ByVal channel_ As Long)
Public Declare Sub Mix_Resume Lib "SDL_VB.dll" (ByVal channel_ As Long)
Public Declare Function Mix_Paused Lib "SDL_VB.dll" (ByVal channel_ As Long) As Long
Public Declare Sub Mix_PauseMusic Lib "SDL_VB.dll" ()
Public Declare Sub Mix_ResumeMusic Lib "SDL_VB.dll" ()
Public Declare Sub Mix_RewindMusic Lib "SDL_VB.dll" ()
Public Declare Function Mix_PausedMusic Lib "SDL_VB.dll" () As Long
Public Declare Function Mix_SetMusicPosition Lib "SDL_VB.dll" (ByVal position_ As Double) As Long
Public Declare Function Mix_Playing Lib "SDL_VB.dll" (ByVal channel_ As Long) As Long
Public Declare Function Mix_PlayingMusic Lib "SDL_VB.dll" () As Long
Public Declare Function Mix_SetMusicCMD Lib "SDL_VB.dll" (ByRef command_ As Any) As Long
Public Declare Function Mix_SetSynchroValue Lib "SDL_VB.dll" (ByVal value_ As Long) As Long
Public Declare Function Mix_GetSynchroValue Lib "SDL_VB.dll" () As Long
Public Declare Function Mix_GetChunk Lib "SDL_VB.dll" (ByVal channel_ As Long) As Long 'Mix_Chunk*
Public Declare Sub Mix_CloseAudio Lib "SDL_VB.dll" ()
'--- F:\Projects\SDL_VB\SDL_VB.i ---
'--- F:\Projects\SDL-1.2.14\include\SDL_net.h ---
Public Const SDL_NET_MAJOR_VERSION As Long = 1
Public Const SDL_NET_MINOR_VERSION As Long = 2
Public Const SDL_NET_PATCHLEVEL As Long = 7
Public Declare Function SDLNet_Linked_Version Lib "SDL_VB.dll" () As Long 'SDL_version*
Public Declare Function SDLNet_Init Lib "SDL_VB.dll" () As Long
Public Declare Sub SDLNet_Quit Lib "SDL_VB.dll" ()
Public Type IPaddress
 host As Long
 port As Integer
End Type '6 bytes
Public Const INADDR_ANY As Long = &H00000000&
Public Const INADDR_NONE As Long = &HFFFFFFFF&
Public Const INADDR_BROADCAST As Long = &HFFFFFFFF&
Public Declare Function SDLNet_ResolveHost Lib "SDL_VB.dll" (ByRef address_ As IPaddress, ByRef host_ As Any, ByVal port_ As Integer) As Long
Public Declare Function SDLNet_ResolveIP Lib "SDL_VB.dll" (ByRef ip_ As IPaddress) As Long 'Byte*
'typedef struct _TCPsocket p. TCPsocket; ==> Long
Public Declare Function SDLNet_TCP_Open Lib "SDL_VB.dll" (ByRef ip_ As IPaddress) As Long
Public Declare Function SDLNet_TCP_Accept Lib "SDL_VB.dll" (ByVal server_ As Long) As Long
Public Declare Function SDLNet_TCP_GetPeerAddress Lib "SDL_VB.dll" (ByVal sock_ As Long) As Long 'IPaddress*
Public Declare Function SDLNet_TCP_Send Lib "SDL_VB.dll" (ByVal sock_ As Long, ByRef data_ As Any, ByVal len_ As Long) As Long
Public Declare Function SDLNet_TCP_Recv Lib "SDL_VB.dll" (ByVal sock_ As Long, ByRef data_ As Any, ByVal maxlen_ As Long) As Long
Public Declare Sub SDLNet_TCP_Close Lib "SDL_VB.dll" (ByVal sock_ As Long)
Public Const SDLNET_MAX_UDPCHANNELS As Long = 32
Public Const SDLNET_MAX_UDPADDRESSES As Long = 4
'typedef struct _UDPsocket p. UDPsocket; ==> Long
Public Type UDPpacket
 channel As Long
 data As Long 'Byte*
 len As Long
 maxlen As Long
 status As Long
 address As IPaddress
End Type '26 bytes
Public Declare Function SDLNet_AllocPacket Lib "SDL_VB.dll" (ByVal size_ As Long) As Long 'UDPpacket*
Public Declare Function SDLNet_ResizePacket Lib "SDL_VB.dll" (ByRef packet_ As UDPpacket, ByVal newsize_ As Long) As Long
Public Declare Sub SDLNet_FreePacket Lib "SDL_VB.dll" (ByRef packet_ As UDPpacket)
Public Declare Function SDLNet_AllocPacketV Lib "SDL_VB.dll" (ByVal howmany_ As Long, ByVal size_ As Long) As Long 'UDPpacket**
Public Declare Sub SDLNet_FreePacketV Lib "SDL_VB.dll" (ByRef packetV_ As Long)
Public Declare Function SDLNet_UDP_Open Lib "SDL_VB.dll" (ByVal port_ As Integer) As Long
Public Declare Function SDLNet_UDP_Bind Lib "SDL_VB.dll" (ByVal sock_ As Long, ByVal channel_ As Long, ByRef address_ As IPaddress) As Long
Public Declare Sub SDLNet_UDP_Unbind Lib "SDL_VB.dll" (ByVal sock_ As Long, ByVal channel_ As Long)
Public Declare Function SDLNet_UDP_GetPeerAddress Lib "SDL_VB.dll" (ByVal sock_ As Long, ByVal channel_ As Long) As Long 'IPaddress*
Public Declare Function SDLNet_UDP_SendV Lib "SDL_VB.dll" (ByVal sock_ As Long, ByRef packets_ As Long, ByVal npackets_ As Long) As Long
Public Declare Function SDLNet_UDP_Send Lib "SDL_VB.dll" (ByVal sock_ As Long, ByVal channel_ As Long, ByRef packet_ As UDPpacket) As Long
Public Declare Function SDLNet_UDP_RecvV Lib "SDL_VB.dll" (ByVal sock_ As Long, ByRef packets_ As Long) As Long
Public Declare Function SDLNet_UDP_Recv Lib "SDL_VB.dll" (ByVal sock_ As Long, ByRef packet_ As UDPpacket) As Long
Public Declare Sub SDLNet_UDP_Close Lib "SDL_VB.dll" (ByVal sock_ As Long)
'typedef struct _SDLNet_SocketSet p. SDLNet_SocketSet; ==> Long
Public Declare Function SDLNet_AllocSocketSet Lib "SDL_VB.dll" (ByVal maxsockets_ As Long) As Long
Public Declare Function SDLNet_AddSocket Lib "SDL_VB.dll" (ByVal set_ As Long, ByVal sock_ As Long) As Long
Public Declare Function SDLNet_DelSocket Lib "SDL_VB.dll" (ByVal set_ As Long, ByVal sock_ As Long) As Long
Public Declare Function SDLNet_CheckSockets Lib "SDL_VB.dll" (ByVal set_ As Long, ByVal timeout_ As Long) As Long
Public Declare Sub SDLNet_FreeSocketSet Lib "SDL_VB.dll" (ByVal set_ As Long)
Public Declare Sub SDLNet_Write16 Lib "SDL_VB.dll" (ByVal value_ As Integer, ByRef area_ As Any)
Public Declare Sub SDLNet_Write32 Lib "SDL_VB.dll" (ByVal value_ As Long, ByRef area_ As Any)
Public Declare Function SDLNet_Read16 Lib "SDL_VB.dll" (ByRef area_ As Any) As Integer
Public Declare Function SDLNet_Read32 Lib "SDL_VB.dll" (ByRef area_ As Any) As Long
Public Const SDL_DATA_ALIGNED As Long = 0
'--- F:\Projects\SDL_VB\SDL_VB.i ---
'--- F:\Projects\SDL_gfx-2.0.22\SDL_framerate.h ---
Public Const FPS_UPPER_LIMIT As Long = 200
Public Const FPS_LOWER_LIMIT As Long = 1
Public Const FPS_DEFAULT As Long = 30
Public Type FPSmanager
 framecount As Long
 rateticks As Single
 lastticks As Long
 rate As Long
End Type '16 bytes
Public Declare Sub SDL_initFramerate Lib "SDL_VB.dll" (ByRef manager_ As FPSmanager)
Public Declare Function SDL_setFramerate Lib "SDL_VB.dll" (ByRef manager_ As FPSmanager, ByVal rate_ As Long) As Long
Public Declare Function SDL_getFramerate Lib "SDL_VB.dll" (ByRef manager_ As FPSmanager) As Long
Public Declare Function SDL_getFramecount Lib "SDL_VB.dll" (ByRef manager_ As FPSmanager) As Long
Public Declare Sub SDL_framerateDelay Lib "SDL_VB.dll" (ByRef manager_ As FPSmanager)
'--- F:\Projects\SDL_VB\SDL_VB.i ---
'--- F:\Projects\SDL_gfx-2.0.22\SDL_gfxBlitFunc.h ---
Public Declare Function SDL_gfxBlitRGBA Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByRef srcrect_ As SDL_Rect, ByRef dst_ As SDL_Surface, ByRef dstrect_ As SDL_Rect) As Long
Public Declare Function SDL_gfxSetAlpha Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByVal a_ As Byte) As Long
Public Declare Function SDL_gfxMultiplyAlpha Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByVal a_ As Byte) As Long
Public Type SDL_gfxBlitInfo
 s_pixels As Long 'Byte*
 s_width As Long
 s_height As Long
 s_skip As Long
 d_pixels As Long 'Byte*
 d_width As Long
 d_height As Long
 d_skip As Long
 aux_data As Long 'Void*
 src As Long 'SDL_PixelFormat*
 table As Long 'Byte*
 dst As Long 'SDL_PixelFormat*
End Type '48 bytes
'--- F:\Projects\SDL_VB\SDL_VB.i ---
'--- F:\Projects\SDL_gfx-2.0.22\SDL_gfxPrimitives.h ---
Public Const SDL_GFXPRIMITIVES_MAJOR As Long = 2
Public Const SDL_GFXPRIMITIVES_MINOR As Long = 0
Public Const SDL_GFXPRIMITIVES_MICRO As Long = 22
Public Declare Function pixelColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal color_ As Long) As Long
Public Declare Function pixelRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function hlineColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal x2_ As Integer, ByVal y_ As Integer, ByVal color_ As Long) As Long
Public Declare Function hlineRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal x2_ As Integer, ByVal y_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function vlineColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y1_ As Integer, ByVal y2_ As Integer, ByVal color_ As Long) As Long
Public Declare Function vlineRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y1_ As Integer, ByVal y2_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function rectangleColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal color_ As Long) As Long
Public Declare Function rectangleRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function roundedRectangleColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal rad_ As Integer, ByVal color_ As Long) As Long
Public Declare Function roundedRectangleRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal rad_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function boxColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal color_ As Long) As Long
Public Declare Function boxRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function roundedBoxColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal rad_ As Integer, ByVal color_ As Long) As Long
Public Declare Function roundedBoxRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal rad_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function lineColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal color_ As Long) As Long
Public Declare Function lineRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function aalineColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal color_ As Long) As Long
Public Declare Function aalineRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function thickLineColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal width_ As Byte, ByVal color_ As Long) As Long
Public Declare Function thickLineRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal width_ As Byte, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function circleColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal color_ As Long) As Long
Public Declare Function circleRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function arcColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal start_ As Integer, ByVal end_ As Integer, ByVal color_ As Long) As Long
Public Declare Function arcRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal start_ As Integer, ByVal end_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function aacircleColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal color_ As Long) As Long
Public Declare Function aacircleRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function filledCircleColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal r_ As Integer, ByVal color_ As Long) As Long
Public Declare Function filledCircleRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function ellipseColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rx_ As Integer, ByVal ry_ As Integer, ByVal color_ As Long) As Long
Public Declare Function ellipseRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rx_ As Integer, ByVal ry_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function aaellipseColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rx_ As Integer, ByVal ry_ As Integer, ByVal color_ As Long) As Long
Public Declare Function aaellipseRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rx_ As Integer, ByVal ry_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function filledEllipseColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rx_ As Integer, ByVal ry_ As Integer, ByVal color_ As Long) As Long
Public Declare Function filledEllipseRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rx_ As Integer, ByVal ry_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function pieColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal start_ As Integer, ByVal end_ As Integer, ByVal color_ As Long) As Long
Public Declare Function pieRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal start_ As Integer, ByVal end_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function filledPieColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal start_ As Integer, ByVal end_ As Integer, ByVal color_ As Long) As Long
Public Declare Function filledPieRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal rad_ As Integer, ByVal start_ As Integer, ByVal end_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function trigonColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal x3_ As Integer, ByVal y3_ As Integer, ByVal color_ As Long) As Long
Public Declare Function trigonRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal x3_ As Integer, ByVal y3_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function aatrigonColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal x3_ As Integer, ByVal y3_ As Integer, ByVal color_ As Long) As Long
Public Declare Function aatrigonRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal x3_ As Integer, ByVal y3_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function filledTrigonColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal x3_ As Integer, ByVal y3_ As Integer, ByVal color_ As Long) As Long
Public Declare Function filledTrigonRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x1_ As Integer, ByVal y1_ As Integer, ByVal x2_ As Integer, ByVal y2_ As Integer, ByVal x3_ As Integer, ByVal y3_ As Integer, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function polygonColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal color_ As Long) As Long
Public Declare Function polygonRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function aapolygonColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal color_ As Long) As Long
Public Declare Function aapolygonRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function filledPolygonColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal color_ As Long) As Long
Public Declare Function filledPolygonRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function texturedPolygon Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByRef texture_ As SDL_Surface, ByVal texture_dx_ As Long, ByVal texture_dy_ As Long) As Long
Public Declare Function filledPolygonColorMT Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal color_ As Long, ByRef polyInts_ As Long, ByRef polyAllocated_ As Long) As Long
Public Declare Function filledPolygonRGBAMT Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte, ByRef polyInts_ As Long, ByRef polyAllocated_ As Long) As Long
Public Declare Function texturedPolygonMT Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByRef texture_ As SDL_Surface, ByVal texture_dx_ As Long, ByVal texture_dy_ As Long, ByRef polyInts_ As Long, ByRef polyAllocated_ As Long) As Long
Public Declare Function bezierColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal s_ As Long, ByVal color_ As Long) As Long
Public Declare Function bezierRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByRef vx_ As Integer, ByRef vy_ As Integer, ByVal n_ As Long, ByVal s_ As Long, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Sub gfxPrimitivesSetFont Lib "SDL_VB.dll" (ByRef fontdata_ As Any, ByVal cw_ As Long, ByVal ch_ As Long)
Public Declare Sub gfxPrimitivesSetFontRotation Lib "SDL_VB.dll" (ByVal rotation_ As Long)
Public Declare Function characterColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal c_ As Byte, ByVal color_ As Long) As Long
Public Declare Function characterRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByVal c_ As Byte, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
Public Declare Function stringColor Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByRef s_ As Any, ByVal color_ As Long) As Long
Public Declare Function stringRGBA Lib "SDL_VB.dll" (ByRef dst_ As SDL_Surface, ByVal x_ As Integer, ByVal y_ As Integer, ByRef s_ As Any, ByVal r_ As Byte, ByVal g_ As Byte, ByVal b_ As Byte, ByVal a_ As Byte) As Long
'--- F:\Projects\SDL_VB\SDL_VB.i ---
Public Declare Function gfxPrimitivesGetBuiltinFont Lib "SDL_VB.dll" () As Long 'Void*
'--- F:\Projects\SDL_gfx-2.0.22\SDL_imageFilter.h ---
Public Declare Function SDL_imageFilterMMXdetect Lib "SDL_VB.dll" () As Long
Public Declare Sub SDL_imageFilterMMXoff Lib "SDL_VB.dll" ()
Public Declare Sub SDL_imageFilterMMXon Lib "SDL_VB.dll" ()
Public Declare Function SDL_imageFilterAdd Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterMean Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterSub Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterAbsDiff Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterMult Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterMultNor Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterMultDivby2 Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterMultDivby4 Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterBitAnd Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterBitOr Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterDiv Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Src2_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterBitNegation Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long) As Long
Public Declare Function SDL_imageFilterAddByte Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal C_ As Byte) As Long
Public Declare Function SDL_imageFilterAddUint Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal C_ As Long) As Long
Public Declare Function SDL_imageFilterAddByteToHalf Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal C_ As Byte) As Long
Public Declare Function SDL_imageFilterSubByte Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal C_ As Byte) As Long
Public Declare Function SDL_imageFilterSubUint Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal C_ As Long) As Long
Public Declare Function SDL_imageFilterShiftRight Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal N_ As Byte) As Long
Public Declare Function SDL_imageFilterShiftRightUint Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal N_ As Byte) As Long
Public Declare Function SDL_imageFilterMultByByte Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal C_ As Byte) As Long
Public Declare Function SDL_imageFilterShiftRightAndMultByByte Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal N_ As Byte, ByVal C_ As Byte) As Long
Public Declare Function SDL_imageFilterShiftLeftByte Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal N_ As Byte) As Long
Public Declare Function SDL_imageFilterShiftLeftUint Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal N_ As Byte) As Long
Public Declare Function SDL_imageFilterShiftLeft Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal N_ As Byte) As Long
Public Declare Function SDL_imageFilterBinarizeUsingThreshold Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal T_ As Byte) As Long
Public Declare Function SDL_imageFilterClipToRange Lib "SDL_VB.dll" (ByRef Src1_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal Tmin_ As Byte, ByVal Tmax_ As Byte) As Long
Public Declare Function SDL_imageFilterNormalizeLinear Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal length_ As Long, ByVal Cmin_ As Long, ByVal Cmax_ As Long, ByVal Nmin_ As Long, ByVal Nmax_ As Long) As Long
Public Declare Function SDL_imageFilterConvolveKernel3x3Divide Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long, ByRef Kernel_ As Integer, ByVal Divisor_ As Byte) As Long
Public Declare Function SDL_imageFilterConvolveKernel5x5Divide Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long, ByRef Kernel_ As Integer, ByVal Divisor_ As Byte) As Long
Public Declare Function SDL_imageFilterConvolveKernel7x7Divide Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long, ByRef Kernel_ As Integer, ByVal Divisor_ As Byte) As Long
Public Declare Function SDL_imageFilterConvolveKernel9x9Divide Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long, ByRef Kernel_ As Integer, ByVal Divisor_ As Byte) As Long
Public Declare Function SDL_imageFilterConvolveKernel3x3ShiftRight Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long, ByRef Kernel_ As Integer, ByVal NRightShift_ As Byte) As Long
Public Declare Function SDL_imageFilterConvolveKernel5x5ShiftRight Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long, ByRef Kernel_ As Integer, ByVal NRightShift_ As Byte) As Long
Public Declare Function SDL_imageFilterConvolveKernel7x7ShiftRight Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long, ByRef Kernel_ As Integer, ByVal NRightShift_ As Byte) As Long
Public Declare Function SDL_imageFilterConvolveKernel9x9ShiftRight Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long, ByRef Kernel_ As Integer, ByVal NRightShift_ As Byte) As Long
Public Declare Function SDL_imageFilterSobelX Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long) As Long
Public Declare Function SDL_imageFilterSobelXShiftRight Lib "SDL_VB.dll" (ByRef Src_ As Any, ByRef Dest_ As Any, ByVal rows_ As Long, ByVal columns_ As Long, ByVal NRightShift_ As Byte) As Long
Public Declare Sub SDL_imageFilterAlignStack Lib "SDL_VB.dll" ()
Public Declare Sub SDL_imageFilterRestoreStack Lib "SDL_VB.dll" ()
'--- F:\Projects\SDL_VB\SDL_VB.i ---
'--- F:\Projects\SDL_gfx-2.0.22\SDL_rotozoom.h ---
Public Const SMOOTHING_OFF As Long = 0
Public Const SMOOTHING_ON As Long = 1
Public Declare Function rotozoomSurface Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByVal angle_ As Double, ByVal zoom_ As Double, ByVal smooth_ As Long) As Long 'SDL_Surface*
Public Declare Function rotozoomSurfaceXY Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByVal angle_ As Double, ByVal zoomx_ As Double, ByVal zoomy_ As Double, ByVal smooth_ As Long) As Long 'SDL_Surface*
Public Declare Sub rotozoomSurfaceSize Lib "SDL_VB.dll" (ByVal width_ As Long, ByVal height_ As Long, ByVal angle_ As Double, ByVal zoom_ As Double, ByRef dstwidth_ As Long, ByRef dstheight_ As Long)
Public Declare Sub rotozoomSurfaceSizeXY Lib "SDL_VB.dll" (ByVal width_ As Long, ByVal height_ As Long, ByVal angle_ As Double, ByVal zoomx_ As Double, ByVal zoomy_ As Double, ByRef dstwidth_ As Long, ByRef dstheight_ As Long)
Public Declare Function zoomSurface Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByVal zoomx_ As Double, ByVal zoomy_ As Double, ByVal smooth_ As Long) As Long 'SDL_Surface*
Public Declare Sub zoomSurfaceSize Lib "SDL_VB.dll" (ByVal width_ As Long, ByVal height_ As Long, ByVal zoomx_ As Double, ByVal zoomy_ As Double, ByRef dstwidth_ As Long, ByRef dstheight_ As Long)
Public Declare Function shrinkSurface Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByVal factorx_ As Long, ByVal factory_ As Long) As Long 'SDL_Surface*
Public Declare Function rotateSurface90Degrees Lib "SDL_VB.dll" (ByRef src_ As SDL_Surface, ByVal numClockwiseTurns_ As Long) As Long 'SDL_Surface*
'--- F:\Projects\SDL_VB\SDL_VB.i ---
